<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: 10 Tips for Writing Better CSS</title>
	<atom:link href="http://webdesignledger.com/tips/10-tips-for-writing-better-css/feed" rel="self" type="application/rss+xml" />
	<link>http://webdesignledger.com/tips/10-tips-for-writing-better-css</link>
	<description>A Publication for Web Designers</description>
	<lastBuildDate>Tue, 22 May 2012 20:42:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Christopher Becker</title>
		<link>http://webdesignledger.com/tips/10-tips-for-writing-better-css/comment-page-1#comment-136478</link>
		<dc:creator>Christopher Becker</dc:creator>
		<pubDate>Wed, 19 Oct 2011 15:49:51 +0000</pubDate>
		<guid isPermaLink="false">http://webdesignledger.com/?p=1921#comment-136478</guid>
		<description>Nice article, but I think that sorting your css alphabetically is not correct, what I find works best is to sort the css out in groups, everything that has something do with the header will be together, footer the same and so on...

So you know all the code that belongs together is together, and commenting makes it easier to follow.</description>
		<content:encoded><![CDATA[<p>Nice article, but I think that sorting your css alphabetically is not correct, what I find works best is to sort the css out in groups, everything that has something do with the header will be together, footer the same and so on&#8230;</p>
<p>So you know all the code that belongs together is together, and commenting makes it easier to follow.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: phong long</title>
		<link>http://webdesignledger.com/tips/10-tips-for-writing-better-css/comment-page-1#comment-26919</link>
		<dc:creator>phong long</dc:creator>
		<pubDate>Thu, 29 Apr 2010 00:25:24 +0000</pubDate>
		<guid isPermaLink="false">http://webdesignledger.com/?p=1921#comment-26919</guid>
		<description>Nice article!  The one section I&#039;d have a difference in opinion in is with ordering rules alphabetically.  What I&#039;ve found very useful is to instead order group rules visually by type and how they will affect their eventual rendering on a page.

for example, i would group and order the .classname rules as:

.classname {
	position: relative;
	z-index: 101;

	padding: 0;
	margin: 48px;
	border: 1px solid #dedede;

	color: #000;
	font-size: 18px;
	line-height: 24px;
}

this way, all the positional rules are visually distinct from the layout rules and the typography rules.  This order also helps as a reminder of what&#039;s involved in determining the overall rendered size and position of the element.</description>
		<content:encoded><![CDATA[<p>Nice article!  The one section I&#8217;d have a difference in opinion in is with ordering rules alphabetically.  What I&#8217;ve found very useful is to instead order group rules visually by type and how they will affect their eventual rendering on a page.</p>
<p>for example, i would group and order the .classname rules as:</p>
<p>.classname {<br />
	position: relative;<br />
	z-index: 101;</p>
<p>	padding: 0;<br />
	margin: 48px;<br />
	border: 1px solid #dedede;</p>
<p>	color: #000;<br />
	font-size: 18px;<br />
	line-height: 24px;<br />
}</p>
<p>this way, all the positional rules are visually distinct from the layout rules and the typography rules.  This order also helps as a reminder of what&#8217;s involved in determining the overall rendered size and position of the element.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ambrooks</title>
		<link>http://webdesignledger.com/tips/10-tips-for-writing-better-css/comment-page-1#comment-26532</link>
		<dc:creator>ambrooks</dc:creator>
		<pubDate>Fri, 23 Apr 2010 19:43:27 +0000</pubDate>
		<guid isPermaLink="false">http://webdesignledger.com/?p=1921#comment-26532</guid>
		<description>I use the same rules when grouping my styles.
although I usually have each group on a new line.

#selector {
display;float;width;height;margin;padding;
font;color;text-align;
background;border;}

#alt-selector {if;only;one;group;}</description>
		<content:encoded><![CDATA[<p>I use the same rules when grouping my styles.<br />
although I usually have each group on a new line.</p>
<p>#selector {<br />
display;float;width;height;margin;padding;<br />
font;color;text-align;<br />
background;border;}</p>
<p>#alt-selector {if;only;one;group;}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Hobbs</title>
		<link>http://webdesignledger.com/tips/10-tips-for-writing-better-css/comment-page-1#comment-17578</link>
		<dc:creator>Peter Hobbs</dc:creator>
		<pubDate>Sun, 24 Jan 2010 05:54:07 +0000</pubDate>
		<guid isPermaLink="false">http://webdesignledger.com/?p=1921#comment-17578</guid>
		<description>NICE - thank you</description>
		<content:encoded><![CDATA[<p>NICE &#8211; thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kimberly Roberts Design</title>
		<link>http://webdesignledger.com/tips/10-tips-for-writing-better-css/comment-page-1#comment-17447</link>
		<dc:creator>Kimberly Roberts Design</dc:creator>
		<pubDate>Fri, 22 Jan 2010 11:46:26 +0000</pubDate>
		<guid isPermaLink="false">http://webdesignledger.com/?p=1921#comment-17447</guid>
		<description>Great article! I haven&#039;t used a &quot;start sheet&quot; before, but what a great idea. I&#039;m not so sure I can use the example from Eric Meyers, but I will definitely be making one of my own for future projects.</description>
		<content:encoded><![CDATA[<p>Great article! I haven&#8217;t used a &#8220;start sheet&#8221; before, but what a great idea. I&#8217;m not so sure I can use the example from Eric Meyers, but I will definitely be making one of my own for future projects.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tedel</title>
		<link>http://webdesignledger.com/tips/10-tips-for-writing-better-css/comment-page-1#comment-17138</link>
		<dc:creator>Tedel</dc:creator>
		<pubDate>Tue, 19 Jan 2010 19:57:20 +0000</pubDate>
		<guid isPermaLink="false">http://webdesignledger.com/?p=1921#comment-17138</guid>
		<description>mm... I add one: Use more z-index and less float. It works.</description>
		<content:encoded><![CDATA[<p>mm&#8230; I add one: Use more z-index and less float. It works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrik Krupar</title>
		<link>http://webdesignledger.com/tips/10-tips-for-writing-better-css/comment-page-1#comment-17091</link>
		<dc:creator>Patrik Krupar</dc:creator>
		<pubDate>Tue, 19 Jan 2010 11:43:13 +0000</pubDate>
		<guid isPermaLink="false">http://webdesignledger.com/?p=1921#comment-17091</guid>
		<description>I can&#039;t agree with your multiple rules = multiple lines. I know from my experience, the biggest the file is the hardier is it to read it. To split it into more files is no good idea because of to many HTTP requests.

Anyway great post, thank you!</description>
		<content:encoded><![CDATA[<p>I can&#8217;t agree with your multiple rules = multiple lines. I know from my experience, the biggest the file is the hardier is it to read it. To split it into more files is no good idea because of to many HTTP requests.</p>
<p>Anyway great post, thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: grek</title>
		<link>http://webdesignledger.com/tips/10-tips-for-writing-better-css/comment-page-1#comment-16317</link>
		<dc:creator>grek</dc:creator>
		<pubDate>Mon, 11 Jan 2010 16:00:57 +0000</pubDate>
		<guid isPermaLink="false">http://webdesignledger.com/?p=1921#comment-16317</guid>
		<description>Agree!</description>
		<content:encoded><![CDATA[<p>Agree!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy</title>
		<link>http://webdesignledger.com/tips/10-tips-for-writing-better-css/comment-page-1#comment-15652</link>
		<dc:creator>Jeremy</dc:creator>
		<pubDate>Tue, 05 Jan 2010 18:10:06 +0000</pubDate>
		<guid isPermaLink="false">http://webdesignledger.com/?p=1921#comment-15652</guid>
		<description>agreed. keep hacks with original whenever possible. if I throw something into an IE-only css file, then the orig css file gets a comment that there is a hack applied and in what file. 

if the hacks are the only things keeping you from validating, then understanding that is better than validating if it costs $100s to workaround. I promise 99%± validation to clients, on the understanding that with as anal as I am about my markup, they should be fine if I spare them a few $100s to have it &#039;almost&#039; validate—unless validation is in their spec up front. in that case, I promise to work as efficiently as possible, but but they&#039;re on hourly rates to fix validation/bug issues that could be solved by a simple fix otherwise.</description>
		<content:encoded><![CDATA[<p>agreed. keep hacks with original whenever possible. if I throw something into an IE-only css file, then the orig css file gets a comment that there is a hack applied and in what file. </p>
<p>if the hacks are the only things keeping you from validating, then understanding that is better than validating if it costs $100s to workaround. I promise 99%± validation to clients, on the understanding that with as anal as I am about my markup, they should be fine if I spare them a few $100s to have it &#8216;almost&#8217; validate—unless validation is in their spec up front. in that case, I promise to work as efficiently as possible, but but they&#8217;re on hourly rates to fix validation/bug issues that could be solved by a simple fix otherwise.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Magentoua</title>
		<link>http://webdesignledger.com/tips/10-tips-for-writing-better-css/comment-page-1#comment-14051</link>
		<dc:creator>Magentoua</dc:creator>
		<pubDate>Tue, 15 Dec 2009 13:44:50 +0000</pubDate>
		<guid isPermaLink="false">http://webdesignledger.com/?p=1921#comment-14051</guid>
		<description>Im not agree with lots of advices but still they are good for a beginner.</description>
		<content:encoded><![CDATA[<p>Im not agree with lots of advices but still they are good for a beginner.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

