<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Kenmore Design Blog &#187; CSS</title>
	<atom:link href="http://blog.kenmoredesign.com/tag/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.kenmoredesign.com</link>
	<description>Professional Web Design</description>
	<lastBuildDate>Fri, 21 May 2010 16:29:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>CSS tips for beginners</title>
		<link>http://blog.kenmoredesign.com/2009/06/15/css-tips-for-beginners/</link>
		<comments>http://blog.kenmoredesign.com/2009/06/15/css-tips-for-beginners/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 23:06:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[professional web design]]></category>

		<guid isPermaLink="false">http://blog.kenmoredesign.com/?p=218</guid>
		<description><![CDATA[Hello Everyone, After a long delay I finally found some time to write a new post. This time about CSS. I believe may people will find these tips useful, not only the beginners but also some experiences programmers since there is no limit to perfection 1. Use global resets Global reset is used for more [...]]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Hello Everyone,</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">After a long delay I finally found some time to write a new post. This time about CSS. I believe may people will find these tips useful, not only the beginners but also some experiences programmers since there is no limit to perfection <img src='http://blog.kenmoredesign.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">1. Use global resets</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Global reset is used for more or less similar website rendering in the different browsers. Different browsers have different default values for various elements. Global resets help you fight with these issues.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">2. Differentiate id and class in elements</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Id attribute specifies that this element is all alone &#8211; unique, for example there is only one header on a website. Class however describes a few elements with similar style and preferences.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">3. Use short preferences</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Using short preferences values is very convenient. Doing so will also reduce you CSS file size.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">4. Organize your CSS files</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">A good alternative to dividing files is better commenting inside the actual files. It makes your code easier to read and edit.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">5. Use CSS frameworks and toolboxes</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Doing so will help you save time. You can use the existing framewfork or edit it to make it wok better with your project.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">6. Avoid redundancy</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">You all know that tags td (tbody/thead/tr) is only allowed within the table tag. The same goes for li and ui. So instead of:</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">table td { &#8230; }   ul li { &#8230; }</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">you can write:</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">td { &#8230; }   li { &#8230; }</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">This is a very easy case, but I think you got the idea.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">7. Don&#8217;t overuse !important</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">This flag raises the priority of the described preference, so if you have a contradiction down below the preference with !important will be prioritized. Some beginners like to abuse !important but remember you can always replace it with stricter inheritance.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">8. Differentiate media types</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Media types with connected CSS files allow you to correct website rendering on different platforms (monitor, cellphone, printer). Using media types is cross-referenced with using different files, using these will make your website more accessible.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">9. Specify multiple fonts</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Every time you specify fonts make sure to specify more then one since different platforms use different fonts.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">BTW most of the professional CSS editors have built in font collections. Enough of notepad programming already <img src='http://blog.kenmoredesign.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">10. Use tools to check CSS in the browser. it will make your work easier and faster.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">I hope everyone found the article useful. I hope it will make your coding better (at least a little)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Please feel free to add more points in the comments!</div>
<p>Hello Everyone,</p>
<div id="attachment_219" class="wp-caption alignleft" style="width: 252px"><img class="size-full wp-image-219" title="css" src="http://blog.kenmoredesign.com/wp-content/uploads/2009/06/css.jpg" alt="css" width="242" height="130" /><p class="wp-caption-text">css</p></div>
<p>After a long delay I finally found some time to write a new post. This time about CSS. I believe may people will find these tips useful, not only the beginners but also some experiences programmers since there is no limit to perfection <img src='http://blog.kenmoredesign.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>1. Use global resets </strong></p>
<p>Global reset is used for more or less similar website rendering in the different browsers. Different browsers have different default values for various elements. Global resets help you fight with these issues.</p>
<p><strong>2. Differentiate id and class in elements </strong></p>
<p>Id attribute specifies that this element is all alone &#8211; unique, for example there is only one header on a website. Class however describes a few elements with similar style and preferences.<br />
<span id="more-218"></span> <strong>3. Use short preferences</strong></p>
<p>Using short preferences values is very convenient. Doing so will also reduce you CSS file size.</p>
<p><strong>4. Organize your CSS files </strong></p>
<p>A good alternative to dividing files is better commenting inside the actual files. It makes your code easier to read and edit.</p>
<p><strong>5. Use CSS frameworks and toolboxes </strong></p>
<p>Doing so will help you save time. You can use the existing framewfork or edit it to make it wok better with your project.</p>
<p><strong>6. Avoid redundancy </strong></p>
<p>You all know that tags td (tbody/thead/tr) is only allowed within the table tag. The same goes for li and ui. So instead of:</p>
<p>table td { &#8230; }   ul li { &#8230; }</p>
<p>you can write:</p>
<p>td { &#8230; }   li { &#8230; }</p>
<p>This is a very easy case, but I think you got the idea.</p>
<p><strong>7. Don&#8217;t overuse !important </strong></p>
<p>This flag raises the priority of the described preference, so if you have a contradiction down below the preference with !important will be prioritized. Some beginners like to abuse !important but remember you can always replace it with stricter inheritance.</p>
<p><strong>8. Differentiate media types </strong></p>
<p>Media types with connected CSS files allow you to correct website rendering on different platforms (monitor, cellphone, printer). Using media types is cross-referenced with using different files, using these will make your website more accessible.</p>
<p><strong>9. Specify multiple fonts</strong></p>
<p>Every time you specify fonts make sure to specify more then one since different platforms use different fonts.</p>
<p>font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;</p>
<p>BTW most of the professional CSS editors have built in font collections. Enough of notepad programming already <img src='http://blog.kenmoredesign.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>10. Use tools to check CSS in the browser. it will make your work easier and faster. </strong></p>
<p>I hope everyone found the article useful. I hope it will make your coding better (at least a little)</p>
<p>Please feel free to add more points in the comments!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kenmoredesign.com/2009/06/15/css-tips-for-beginners/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

