<?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: CSS Best Practices</title>
	<atom:link href="http://www.graphicrating.com/2008/11/15/css-best-practices/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.graphicrating.com/2008/11/15/css-best-practices/</link>
	<description></description>
	<lastBuildDate>Wed, 28 Sep 2011 17:06:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Quintin</title>
		<link>http://www.graphicrating.com/2008/11/15/css-best-practices/#comment-131</link>
		<dc:creator>Quintin</dc:creator>
		<pubDate>Tue, 16 Feb 2010 17:55:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.graphicrating.com/?p=957#comment-131</guid>
		<description>I tend to use a 1px &#039;outline&#039; instead of &#039;border&#039;, it prevents tight layouts breaking when troubleshooting.</description>
		<content:encoded><![CDATA[<p>I tend to use a 1px &#8216;outline&#8217; instead of &#8216;border&#8217;, it prevents tight layouts breaking when troubleshooting.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Gongea</title>
		<link>http://www.graphicrating.com/2008/11/15/css-best-practices/#comment-127</link>
		<dc:creator>Andy Gongea</dc:creator>
		<pubDate>Tue, 02 Dec 2008 12:12:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.graphicrating.com/?p=957#comment-127</guid>
		<description>Yes, it is obvious that adding a border will increase your width or height, but only when you have fixed width and height. This practice is described in general not for a specific case. Anyway, good point Raymond.</description>
		<content:encoded><![CDATA[<p>Yes, it is obvious that adding a border will increase your width or height, but only when you have fixed width and height. This practice is described in general not for a specific case. Anyway, good point Raymond.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Gongea</title>
		<link>http://www.graphicrating.com/2008/11/15/css-best-practices/#comment-126</link>
		<dc:creator>Andy Gongea</dc:creator>
		<pubDate>Mon, 24 Nov 2008 22:46:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.graphicrating.com/?p=957#comment-126</guid>
		<description>Thanks Hawkthalas.

Edgy red background you have there on your site. Nice.</description>
		<content:encoded><![CDATA[<p>Thanks Hawkthalas.</p>
<p>Edgy red background you have there on your site. Nice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hawkthalas</title>
		<link>http://www.graphicrating.com/2008/11/15/css-best-practices/#comment-125</link>
		<dc:creator>Hawkthalas</dc:creator>
		<pubDate>Mon, 24 Nov 2008 22:14:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.graphicrating.com/?p=957#comment-125</guid>
		<description>Great list bro. Good Job.

The only thing that i must add about the 5th practice is that we use EM &#039;cause if you use pixels some browsers ( our lovely IEs :S ) cannot increase the font size or decrease it via their text size menu &#039;cause Microsoft thinks that the pixel is an absolute unit and must not be resized.

Peace.</description>
		<content:encoded><![CDATA[<p>Great list bro. Good Job.</p>
<p>The only thing that i must add about the 5th practice is that we use EM &#8217;cause if you use pixels some browsers ( our lovely IEs :S ) cannot increase the font size or decrease it via their text size menu &#8217;cause Microsoft thinks that the pixel is an absolute unit and must not be resized.</p>
<p>Peace.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Gongea</title>
		<link>http://www.graphicrating.com/2008/11/15/css-best-practices/#comment-122</link>
		<dc:creator>Andy Gongea</dc:creator>
		<pubDate>Sun, 16 Nov 2008 21:13:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.graphicrating.com/?p=957#comment-122</guid>
		<description>Thanks Steve. It is now fixed.</description>
		<content:encoded><![CDATA[<p>Thanks Steve. It is now fixed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Robillard</title>
		<link>http://www.graphicrating.com/2008/11/15/css-best-practices/#comment-121</link>
		<dc:creator>Steve Robillard</dc:creator>
		<pubDate>Sun, 16 Nov 2008 20:59:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.graphicrating.com/?p=957#comment-121</guid>
		<description>Your fix class appears to have both a red background and border. Not the green background you mentioned.</description>
		<content:encoded><![CDATA[<p>Your fix class appears to have both a red background and border. Not the green background you mentioned.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Koskinen</title>
		<link>http://www.graphicrating.com/2008/11/15/css-best-practices/#comment-120</link>
		<dc:creator>Daniel Koskinen</dc:creator>
		<pubDate>Sun, 16 Nov 2008 19:36:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.graphicrating.com/?p=957#comment-120</guid>
		<description>... I must correct myself. Piping :first-child:first-letter doesn&#039;t seem to work at least in Firefox 3. So probably not a real option for the time being.</description>
		<content:encoded><![CDATA[<p>&#8230; I must correct myself. Piping :first-child:first-letter doesn&#8217;t seem to work at least in Firefox 3. So probably not a real option for the time being.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Koskinen</title>
		<link>http://www.graphicrating.com/2008/11/15/css-best-practices/#comment-119</link>
		<dc:creator>Daniel Koskinen</dc:creator>
		<pubDate>Sun, 16 Nov 2008 19:34:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.graphicrating.com/?p=957#comment-119</guid>
		<description>You can also use the :first-letter pseudo-class for drop-caps. Then you don&#039;t need to wrap the first letter in a span. I&#039;ve done this over at http://mainossaatio.fi/saatio.html (in Finnish, sorry). Obviously you still need a hook for the paragraph if you don&#039;t want it in all of them.

If the paragraph you need is the first child of something else (a div, for instance) you could just use div:first-child:first-letter and be done with it. Useful if the content you&#039;re styling comes from a CMS.</description>
		<content:encoded><![CDATA[<p>You can also use the :first-letter pseudo-class for drop-caps. Then you don&#8217;t need to wrap the first letter in a span. I&#8217;ve done this over at <a href="http://mainossaatio.fi/saatio.html" rel="nofollow">http://mainossaatio.fi/saatio.html</a> (in Finnish, sorry). Obviously you still need a hook for the paragraph if you don&#8217;t want it in all of them.</p>
<p>If the paragraph you need is the first child of something else (a div, for instance) you could just use div:first-child:first-letter and be done with it. Useful if the content you&#8217;re styling comes from a CMS.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Gongea</title>
		<link>http://www.graphicrating.com/2008/11/15/css-best-practices/#comment-118</link>
		<dc:creator>Andy Gongea</dc:creator>
		<pubDate>Sun, 16 Nov 2008 14:25:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.graphicrating.com/?p=957#comment-118</guid>
		<description>I really think that reset is one good practice.

Regarding the margin:0 auto; is the best approach, of course you can add for IE6 a text-align:center to the body.

Nice to hear about the display:table option. I didn&#039;t know about that. Thanks.

About the splitting of the CSS I&#039;m totally against it. The reason is exactly the HTTP requests. We don&#039;t have powerful servers so the speed has to come from us.

Thanks for your opinion.</description>
		<content:encoded><![CDATA[<p>I really think that reset is one good practice.</p>
<p>Regarding the margin:0 auto; is the best approach, of course you can add for IE6 a text-align:center to the body.</p>
<p>Nice to hear about the display:table option. I didn&#8217;t know about that. Thanks.</p>
<p>About the splitting of the CSS I&#8217;m totally against it. The reason is exactly the HTTP requests. We don&#8217;t have powerful servers so the speed has to come from us.</p>
<p>Thanks for your opinion.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Davis</title>
		<link>http://www.graphicrating.com/2008/11/15/css-best-practices/#comment-117</link>
		<dc:creator>Paul Davis</dc:creator>
		<pubDate>Sun, 16 Nov 2008 12:24:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.graphicrating.com/?p=957#comment-117</guid>
		<description>Some nice tips. =]

Made me switch from the generic reset, to a more refined, accurate reset. :)</description>
		<content:encoded><![CDATA[<p>Some nice tips. =]</p>
<p>Made me switch from the generic reset, to a more refined, accurate reset. :)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

