<?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: Maintaining Browser Specific CSS</title>
	<atom:link href="http://ajaxian.com/archives/maintaining-css/feed" rel="self" type="application/rss+xml" />
	<link>http://ajaxian.com/archives/maintaining-css</link>
	<description>Cleaning up the web with Ajax</description>
	<lastBuildDate>Thu, 17 May 2012 07:43:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: xfinx</title>
		<link>http://ajaxian.com/archives/maintaining-css/comment-page-1#comment-267734</link>
		<dc:creator>xfinx</dc:creator>
		<pubDate>Mon, 29 Sep 2008 06:46:41 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4612#comment-267734</guid>
		<description>Wow this is crap! It definitely makes your templates unreadable.
Not only that but it is hell to maintain it. 
To me it looks like a bad example. 
What if you use conditional comments to create you own stylesheet for ie only?

&lt;!--[if lt IE 8]&gt;--&gt;
  


This has some advantages:
1. Your main stylesheet remains small
2. Your templates stay the same for all browsers. This saves soo much time doing redesign of the site of certain elements.
3. It is much more maintainable.</description>
		<content:encoded><![CDATA[<p>Wow this is crap! It definitely makes your templates unreadable.<br />
Not only that but it is hell to maintain it.<br />
To me it looks like a bad example.<br />
What if you use conditional comments to create you own stylesheet for ie only?</p>
<p><!--[if lt IE 8]&gt;--></p>
<p>This has some advantages:<br />
1. Your main stylesheet remains small<br />
2. Your templates stay the same for all browsers. This saves soo much time doing redesign of the site of certain elements.<br />
3. It is much more maintainable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: waltr</title>
		<link>http://ajaxian.com/archives/maintaining-css/comment-page-1#comment-267725</link>
		<dc:creator>waltr</dc:creator>
		<pubDate>Sun, 28 Sep 2008 21:20:17 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4612#comment-267725</guid>
		<description>This is obviously a bit of an edge case, but some network appliances can strip out conditional comments in an effort to reduce the amount of data being transmitted (thinking the conditional comments are just normal HTML comments).</description>
		<content:encoded><![CDATA[<p>This is obviously a bit of an edge case, but some network appliances can strip out conditional comments in an effort to reduce the amount of data being transmitted (thinking the conditional comments are just normal HTML comments).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Melianor</title>
		<link>http://ajaxian.com/archives/maintaining-css/comment-page-1#comment-267720</link>
		<dc:creator>Melianor</dc:creator>
		<pubDate>Sun, 28 Sep 2008 10:51:24 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4612#comment-267720</guid>
		<description>I am ashamed to see an example like this on ajaxian. This is not adhereing to web standards in ANY way. Yes, using conditional comments is good when you absolutly need to, but the example above produces a whole lot of mess that leasds to nothing.

Normally you only need conditional comments when there is absolutly no other way, which would result in only small extra stylesheets, not ladden with tons of extra code.

We are trying to push forward the use of web standards and how we build HTML and use CSS to be more effecient with our code and then we examples like this are offered. I think Ajaxian is read by a lot of people and if this is put forward as best practice than we can just bury our efforts to improve readability and maintainability of our HTML templates and go back to drawing table layouts.

&lt;strong&gt;So what rules should you follow?&lt;/strong&gt; Your HTML structure should look the same, no matter which browser is served. If you really really need too, if you will not have to do, if you have done your (X)HTML/CSS homework, then you can add extra information for IE through conditional comments or hacks, though both should be discouraged. Keep you HTML structure clean and without any sight of browser specific tags, otherwise this will end in a total maintenance nightmare!</description>
		<content:encoded><![CDATA[<p>I am ashamed to see an example like this on ajaxian. This is not adhereing to web standards in ANY way. Yes, using conditional comments is good when you absolutly need to, but the example above produces a whole lot of mess that leasds to nothing.</p>
<p>Normally you only need conditional comments when there is absolutly no other way, which would result in only small extra stylesheets, not ladden with tons of extra code.</p>
<p>We are trying to push forward the use of web standards and how we build HTML and use CSS to be more effecient with our code and then we examples like this are offered. I think Ajaxian is read by a lot of people and if this is put forward as best practice than we can just bury our efforts to improve readability and maintainability of our HTML templates and go back to drawing table layouts.</p>
<p><strong>So what rules should you follow?</strong> Your HTML structure should look the same, no matter which browser is served. If you really really need too, if you will not have to do, if you have done your (X)HTML/CSS homework, then you can add extra information for IE through conditional comments or hacks, though both should be discouraged. Keep you HTML structure clean and without any sight of browser specific tags, otherwise this will end in a total maintenance nightmare!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Clay</title>
		<link>http://ajaxian.com/archives/maintaining-css/comment-page-1#comment-267695</link>
		<dc:creator>Steve Clay</dc:creator>
		<pubDate>Fri, 26 Sep 2008 20:51:10 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4612#comment-267695</guid>
		<description>1. The markup shown on Ajaxian was currupted.
2. A comment on the original post shows the more practical &lt;a href=&quot;http://blog.niccai.com/post/51688182/maintainable-css-using-ie-specific-css-selectors#comment-2639285&quot; rel=&quot;nofollow&quot;&gt;(slightly) simplified markup&lt;/a&gt;.

Reasons I think this might be great: Valid HTML, lighter-weight than conditionals around LINKs, more reliable than UA sniffing, AND keeps related styles in close proximity.</description>
		<content:encoded><![CDATA[<p>1. The markup shown on Ajaxian was currupted.<br />
2. A comment on the original post shows the more practical <a href="http://blog.niccai.com/post/51688182/maintainable-css-using-ie-specific-css-selectors#comment-2639285" rel="nofollow">(slightly) simplified markup</a>.</p>
<p>Reasons I think this might be great: Valid HTML, lighter-weight than conditionals around LINKs, more reliable than UA sniffing, AND keeps related styles in close proximity.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: OwenL</title>
		<link>http://ajaxian.com/archives/maintaining-css/comment-page-1#comment-267694</link>
		<dc:creator>OwenL</dc:creator>
		<pubDate>Fri, 26 Sep 2008 20:41:04 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4612#comment-267694</guid>
		<description>Nice approach Nick, sometimes people on Ajaxian are so in love with the idea of standards compliance that the realities of every day workflow are never considered.  Moreover many of them don&#039;t consider the ramifications of splitting style sheets in large scale sites.  Many developers such as myself have inherited code or even utilized code options listed here and they were less effective.  A short list of why Nick&#039;s technique is probably optimal.

1) Conditional stylesheets are not an effective method of maintaining large scale sites because its a nuisance to find the correct style, file caching systems require that the upload/delivery workflow is extended whereby your architecture needs to be quite need for renaming all includes, and for the aforementioned, the added hit for downloading an extra file.

2) This is obvious but the hacks mentioned above are horrible, why bother, everytime a new browser comes out you&#039;ll have to test like there is no tomorrow.  Conditional statements are stable, clean, and reliable; the method of their use is all that is relevant here.

Anyways kudos to you Nick.  I may just adopt something similar.

Cheers,
Owen</description>
		<content:encoded><![CDATA[<p>Nice approach Nick, sometimes people on Ajaxian are so in love with the idea of standards compliance that the realities of every day workflow are never considered.  Moreover many of them don&#8217;t consider the ramifications of splitting style sheets in large scale sites.  Many developers such as myself have inherited code or even utilized code options listed here and they were less effective.  A short list of why Nick&#8217;s technique is probably optimal.</p>
<p>1) Conditional stylesheets are not an effective method of maintaining large scale sites because its a nuisance to find the correct style, file caching systems require that the upload/delivery workflow is extended whereby your architecture needs to be quite need for renaming all includes, and for the aforementioned, the added hit for downloading an extra file.</p>
<p>2) This is obvious but the hacks mentioned above are horrible, why bother, everytime a new browser comes out you&#8217;ll have to test like there is no tomorrow.  Conditional statements are stable, clean, and reliable; the method of their use is all that is relevant here.</p>
<p>Anyways kudos to you Nick.  I may just adopt something similar.</p>
<p>Cheers,<br />
Owen</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: howardrauscher</title>
		<link>http://ajaxian.com/archives/maintaining-css/comment-page-1#comment-267693</link>
		<dc:creator>howardrauscher</dc:creator>
		<pubDate>Fri, 26 Sep 2008 20:38:48 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4612#comment-267693</guid>
		<description>I find that conditional comments make version of IE download a separate works best, especially for sites that I create and I am the only developer.  For my day job, where we have several developers, hundreds of pages this does not work well at all.  Sometimes using _ (underscore) hack works best. No extra style sheets at all.  We have a rule that whenever you use an IE specific hack you have to comment it a specific way.   We had a developer that just hated the fact that we never used conditional comments, but she came from a small design agency where there was just one developer per project and they were creating the sites from scratch.  In the real world this doesn&#039;t happen very often.

We also built a script that builds IE specific style sheets based on previous &quot;hacks.&quot;  It goes through and makes a stylesheet based on the only _ hacked rules.</description>
		<content:encoded><![CDATA[<p>I find that conditional comments make version of IE download a separate works best, especially for sites that I create and I am the only developer.  For my day job, where we have several developers, hundreds of pages this does not work well at all.  Sometimes using _ (underscore) hack works best. No extra style sheets at all.  We have a rule that whenever you use an IE specific hack you have to comment it a specific way.   We had a developer that just hated the fact that we never used conditional comments, but she came from a small design agency where there was just one developer per project and they were creating the sites from scratch.  In the real world this doesn&#8217;t happen very often.</p>
<p>We also built a script that builds IE specific style sheets based on previous &#8220;hacks.&#8221;  It goes through and makes a stylesheet based on the only _ hacked rules.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mjuhl</title>
		<link>http://ajaxian.com/archives/maintaining-css/comment-page-1#comment-267688</link>
		<dc:creator>mjuhl</dc:creator>
		<pubDate>Fri, 26 Sep 2008 19:17:16 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4612#comment-267688</guid>
		<description>@spaulo: If you must contain everything in one style sheet, you could use the * override for IE6:

#body1 { } /* standard styles */
* html #body1 { } /* ie6 fixes  */

Furthermore, if you can use javascript you could do something like this:

// example for IE 7
if (document.all &amp;&amp; !window.opera &amp;&amp; window.XMLHttpRequest) {
  document.getElementsByTagName(&quot;body&quot;)[0].className = &quot;ie7&quot;;
}

Then, define your styles like this: 
body.ie7 #body1 { }</description>
		<content:encoded><![CDATA[<p>@spaulo: If you must contain everything in one style sheet, you could use the * override for IE6:</p>
<p>#body1 { } /* standard styles */<br />
* html #body1 { } /* ie6 fixes  */</p>
<p>Furthermore, if you can use javascript you could do something like this:</p>
<p>// example for IE 7<br />
if (document.all &amp;&amp; !window.opera &amp;&amp; window.XMLHttpRequest) {<br />
  document.getElementsByTagName(&#8220;body&#8221;)[0].className = &#8220;ie7&#8243;;<br />
}</p>
<p>Then, define your styles like this:<br />
body.ie7 #body1 { }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NICCAI</title>
		<link>http://ajaxian.com/archives/maintaining-css/comment-page-1#comment-267686</link>
		<dc:creator>NICCAI</dc:creator>
		<pubDate>Fri, 26 Sep 2008 16:57:20 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4612#comment-267686</guid>
		<description>The first code block above has some extra tags, so you may want to click through to the link (or remove the tags that appear to be duplicates) to see my original sample.  With that said, I&#039;m trying to illustrate an approach that makes CSS maintenance and peformance at the top of the stack.  If you&#039;re build a large scale web application, keeping an IE only stylesheet can be a real hassle and add to debugging time (especially if you have multiple people working on the CSS).  To add, with IE still in the majority, adding yet another http request to a page is far more damaging than including the IE specific styles for all.  If you are able to build in a more sophisticated deployment process, you can circumvent this at that point, but I still find maintenance a real headache.</description>
		<content:encoded><![CDATA[<p>The first code block above has some extra tags, so you may want to click through to the link (or remove the tags that appear to be duplicates) to see my original sample.  With that said, I&#8217;m trying to illustrate an approach that makes CSS maintenance and peformance at the top of the stack.  If you&#8217;re build a large scale web application, keeping an IE only stylesheet can be a real hassle and add to debugging time (especially if you have multiple people working on the CSS).  To add, with IE still in the majority, adding yet another http request to a page is far more damaging than including the IE specific styles for all.  If you are able to build in a more sophisticated deployment process, you can circumvent this at that point, but I still find maintenance a real headache.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: spaulo</title>
		<link>http://ajaxian.com/archives/maintaining-css/comment-page-1#comment-267685</link>
		<dc:creator>spaulo</dc:creator>
		<pubDate>Fri, 26 Sep 2008 16:52:04 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4612#comment-267685</guid>
		<description>Everyone railing against this issue is assuming one thing: that the developer(s) in question have complete control over every part of the website they&#039;re building. This isn&#039;t always the case. Where I work, the client has essentially demanded that whenever we work on new elements of their (very large, highly-trafficked, international) site, all changes/additions/etc. go in one &quot;Master&quot; stylesheet. We hate it, but it&#039;s a requirement. Conditionally-commented link tags or import statements are not an option.

This method is going to be a godsend for us, in our situation where we have control over the HTML, but not over other business requirements (logical or otherwise) of the client.</description>
		<content:encoded><![CDATA[<p>Everyone railing against this issue is assuming one thing: that the developer(s) in question have complete control over every part of the website they&#8217;re building. This isn&#8217;t always the case. Where I work, the client has essentially demanded that whenever we work on new elements of their (very large, highly-trafficked, international) site, all changes/additions/etc. go in one &#8220;Master&#8221; stylesheet. We hate it, but it&#8217;s a requirement. Conditionally-commented link tags or import statements are not an option.</p>
<p>This method is going to be a godsend for us, in our situation where we have control over the HTML, but not over other business requirements (logical or otherwise) of the client.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WillPeavy</title>
		<link>http://ajaxian.com/archives/maintaining-css/comment-page-1#comment-267684</link>
		<dc:creator>WillPeavy</dc:creator>
		<pubDate>Fri, 26 Sep 2008 16:28:17 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4612#comment-267684</guid>
		<description>The cleanest, most efficient way is to wrap link elements, that call stylesheets for specific versions of IE, in conditional comments in the head. Non-semantic markup in the body should be avoided whenever possible.</description>
		<content:encoded><![CDATA[<p>The cleanest, most efficient way is to wrap link elements, that call stylesheets for specific versions of IE, in conditional comments in the head. Non-semantic markup in the body should be avoided whenever possible.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mjuhl</title>
		<link>http://ajaxian.com/archives/maintaining-css/comment-page-1#comment-267682</link>
		<dc:creator>mjuhl</dc:creator>
		<pubDate>Fri, 26 Sep 2008 15:36:16 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4612#comment-267682</guid>
		<description>This is a terrible 1990s style approach and in my opinion it violates the separation of content rule. Everything within the body tags of a page should be strictly content. That means no conditionals, no inline JavaScript or CSS declarations, etc. Additionally, you&#039;re including the extra css information in your style sheet for everyone, not just IE users. I don&#039;t know about you, but it drives me crazy. The best practice is to include your standard style sheet(s), then use conditional comments (in the HEAD) to include additional style sheets with fixes for IE. The fixes won&#039;t be browser specific CSS classes, but overwrites for css styles already defined in your main css.</description>
		<content:encoded><![CDATA[<p>This is a terrible 1990s style approach and in my opinion it violates the separation of content rule. Everything within the body tags of a page should be strictly content. That means no conditionals, no inline JavaScript or CSS declarations, etc. Additionally, you&#8217;re including the extra css information in your style sheet for everyone, not just IE users. I don&#8217;t know about you, but it drives me crazy. The best practice is to include your standard style sheet(s), then use conditional comments (in the HEAD) to include additional style sheets with fixes for IE. The fixes won&#8217;t be browser specific CSS classes, but overwrites for css styles already defined in your main css.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jonhartmann</title>
		<link>http://ajaxian.com/archives/maintaining-css/comment-page-1#comment-267679</link>
		<dc:creator>jonhartmann</dc:creator>
		<pubDate>Fri, 26 Sep 2008 15:08:30 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4612#comment-267679</guid>
		<description>I really don&#039;t understand what this method nets over using IE conditional comments to selectively include style sheets. Basically load a general one, and then load one browser specific style sheet. It will probably result in LESS css on the wire, as you wont have your one file cluttered with tons of IE garbage served to Firefox browsers.</description>
		<content:encoded><![CDATA[<p>I really don&#8217;t understand what this method nets over using IE conditional comments to selectively include style sheets. Basically load a general one, and then load one browser specific style sheet. It will probably result in LESS css on the wire, as you wont have your one file cluttered with tons of IE garbage served to Firefox browsers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zachleat</title>
		<link>http://ajaxian.com/archives/maintaining-css/comment-page-1#comment-267677</link>
		<dc:creator>zachleat</dc:creator>
		<pubDate>Fri, 26 Sep 2008 14:52:24 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4612#comment-267677</guid>
		<description>I agree with maccman, I think the link he posted might be a better approach.  But, there are a couple of different approaches:

1. Conditional Comments (this technique): IE only, should Firefox have conditional comments?
2. Using JavaScript to parse the user agent on the client to add a parent CSS Class: what if a user has JavaScript disabled or is a mobile browser that doesn&#039;t support JavaScript?
3. Using a Server side view helper to parse the user agent and add a parent CSS Class (in maccman&#039;s link): the most robust solution, in my opinion.</description>
		<content:encoded><![CDATA[<p>I agree with maccman, I think the link he posted might be a better approach.  But, there are a couple of different approaches:</p>
<p>1. Conditional Comments (this technique): IE only, should Firefox have conditional comments?<br />
2. Using JavaScript to parse the user agent on the client to add a parent CSS Class: what if a user has JavaScript disabled or is a mobile browser that doesn&#8217;t support JavaScript?<br />
3. Using a Server side view helper to parse the user agent and add a parent CSS Class (in maccman&#8217;s link): the most robust solution, in my opinion.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: naos</title>
		<link>http://ajaxian.com/archives/maintaining-css/comment-page-1#comment-267674</link>
		<dc:creator>naos</dc:creator>
		<pubDate>Fri, 26 Sep 2008 13:39:24 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4612#comment-267674</guid>
		<description>Well if they have only single base html template and use extensions/inheriting/including of this template then it&#039;s not so messy. It&#039;s only one place with couple of lines. For me it looks like nice solution, I personally use conditions to load iesucks.css stylesheet for IE6,7 ;)</description>
		<content:encoded><![CDATA[<p>Well if they have only single base html template and use extensions/inheriting/including of this template then it&#8217;s not so messy. It&#8217;s only one place with couple of lines. For me it looks like nice solution, I personally use conditions to load iesucks.css stylesheet for IE6,7 ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jaffathecake</title>
		<link>http://ajaxian.com/archives/maintaining-css/comment-page-1#comment-267673</link>
		<dc:creator>jaffathecake</dc:creator>
		<pubDate>Fri, 26 Sep 2008 13:31:05 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4612#comment-267673</guid>
		<description>Amazes me that after all these standards, all this teaching, we still have people who think that &quot;This page is best viewed in [NOT YOUR BROWSER]&quot; is a good idea.

Personally, I still use the underscore hack for IE6. It works and keeps the IE-only styles alongside the styles for other browsers. That&#039;s another benefit with the above solution over using separate CSS files. Cuts down on HTTP requests and keeps related styles together.

Used a similar trick before, but with the body element rather than divs.</description>
		<content:encoded><![CDATA[<p>Amazes me that after all these standards, all this teaching, we still have people who think that &#8220;This page is best viewed in [NOT YOUR BROWSER]&#8221; is a good idea.</p>
<p>Personally, I still use the underscore hack for IE6. It works and keeps the IE-only styles alongside the styles for other browsers. That&#8217;s another benefit with the above solution over using separate CSS files. Cuts down on HTTP requests and keeps related styles together.</p>
<p>Used a similar trick before, but with the body element rather than divs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dave1010</title>
		<link>http://ajaxian.com/archives/maintaining-css/comment-page-1#comment-267672</link>
		<dc:creator>dave1010</dc:creator>
		<pubDate>Fri, 26 Sep 2008 13:29:32 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4612#comment-267672</guid>
		<description>This is similar to the article on Position is Everything: http://www.positioniseverything.net/articles/cc-plus.html</description>
		<content:encoded><![CDATA[<p>This is similar to the article on Position is Everything: <a href="http://www.positioniseverything.net/articles/cc-plus.html" rel="nofollow">http://www.positioniseverything.net/articles/cc-plus.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sharkooon</title>
		<link>http://ajaxian.com/archives/maintaining-css/comment-page-1#comment-267671</link>
		<dc:creator>sharkooon</dc:creator>
		<pubDate>Fri, 26 Sep 2008 13:13:02 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4612#comment-267671</guid>
		<description>ajaxian &lt;code&gt; doesnt work :s&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>ajaxian <code> doesnt work :s</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AdamB</title>
		<link>http://ajaxian.com/archives/maintaining-css/comment-page-1#comment-267668</link>
		<dc:creator>AdamB</dc:creator>
		<pubDate>Fri, 26 Sep 2008 12:57:18 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4612#comment-267668</guid>
		<description>No.

Conditional comments around your CSS links/imports has the direct advantage of not downloading a whole bunch of un-needed stylesheets.</description>
		<content:encoded><![CDATA[<p>No.</p>
<p>Conditional comments around your CSS links/imports has the direct advantage of not downloading a whole bunch of un-needed stylesheets.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: maccman</title>
		<link>http://ajaxian.com/archives/maintaining-css/comment-page-1#comment-267665</link>
		<dc:creator>maccman</dc:creator>
		<pubDate>Fri, 26 Sep 2008 11:56:27 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4612#comment-267665</guid>
		<description>I prefer putting the a class on the body tag, corresponding to the browser type, like  - technique detailed here: http://www.eribium.org/blog/?p=173</description>
		<content:encoded><![CDATA[<p>I prefer putting the a class on the body tag, corresponding to the browser type, like  &#8211; technique detailed here: <a href="http://www.eribium.org/blog/?p=173" rel="nofollow">http://www.eribium.org/blog/?p=173</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: johnwards</title>
		<link>http://ajaxian.com/archives/maintaining-css/comment-page-1#comment-267664</link>
		<dc:creator>johnwards</dc:creator>
		<pubDate>Fri, 26 Sep 2008 11:54:56 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4612#comment-267664</guid>
		<description>Good god, how messy would that make your templates.

How about simply using conditional comments to load in an i.e. 6 only style sheet which you over ride your styles with i.e. ones.

Its what we do, and its easy and maintainable.</description>
		<content:encoded><![CDATA[<p>Good god, how messy would that make your templates.</p>
<p>How about simply using conditional comments to load in an i.e. 6 only style sheet which you over ride your styles with i.e. ones.</p>
<p>Its what we do, and its easy and maintainable.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

