 <?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: Bad advice: people still teaching CSS hacks</title>
	<atom:link href="http://www.broken-links.com/2009/07/27/bad-advice-people-still-teaching-css-hacks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.broken-links.com/2009/07/27/bad-advice-people-still-teaching-css-hacks/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=bad-advice-people-still-teaching-css-hacks</link>
	<description>Thoughts on web development and technologies by Peter Gasston</description>
	<lastBuildDate>Tue, 07 Sep 2010 21:24:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Grant</title>
		<link>http://www.broken-links.com/2009/07/27/bad-advice-people-still-teaching-css-hacks/#comment-35548</link>
		<dc:creator>Grant</dc:creator>
		<pubDate>Fri, 20 Nov 2009 05:06:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.broken-links.com/?p=476#comment-35548</guid>
		<description>ToastyGhost is right on the money. All of the idealists complain about bad development and the fears associated with future proofing (that it may look bad with an update), but there are no standards in the browsers themsleves. Until a set of standards is strictly adhered to in the browsers themselves, no set of standards can claim the term &quot;professional&quot;. 

Some people compare web development to other industries/ technologies, but forget that those industries are a little more contained than web development (rendering at least). If you are trained to fly an airplane it is for a specific type of airplane, not airplanes in general. Yet web developers are expected to render sites in 7 (or more) browsers, despite the total lack of adherance to standards. 

Conditional comments themselves feel like a hack to me -- you&#039;re not using comments as specified. At the end of the day, who are you making the site for? Do you have a heirarchy? Mine is my employer, the public, myself, then the development community.

P.S. fewer http requests = smaller carbon footprint (lame, I know)</description>
		<content:encoded><![CDATA[<p>ToastyGhost is right on the money. All of the idealists complain about bad development and the fears associated with future proofing (that it may look bad with an update), but there are no standards in the browsers themsleves. Until a set of standards is strictly adhered to in the browsers themselves, no set of standards can claim the term “professional”. </p>
<p>Some people compare web development to other industries/ technologies, but forget that those industries are a little more contained than web development (rendering at least). If you are trained to fly an airplane it is for a specific type of airplane, not airplanes in general. Yet web developers are expected to render sites in 7 (or more) browsers, despite the total lack of adherance to standards. </p>
<p>Conditional comments themselves feel like a hack to me — you’re not using comments as specified. At the end of the day, who are you making the site for? Do you have a heirarchy? Mine is my employer, the public, myself, then the development community.</p>
<p>P.S. fewer http requests = smaller carbon footprint (lame, I know)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: toastyghost</title>
		<link>http://www.broken-links.com/2009/07/27/bad-advice-people-still-teaching-css-hacks/#comment-35330</link>
		<dc:creator>toastyghost</dc:creator>
		<pubDate>Mon, 02 Nov 2009 19:02:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.broken-links.com/?p=476#comment-35330</guid>
		<description>While I agree with the gist of this post, I think the blame should be shifted from where it&#039;s currently being placed (&quot;you shouldn&#039;t use CSS hacks&quot;) to where it rightly belongs (&quot;you shouldn&#039;t NEED to use CSS hacks&quot;).  It&#039;s easy to be an idealist about web standards when you don&#039;t have clients blowing up your phone about how awful your work looks because they don&#039;t know how (or care) to install a simple automated update.  And it&#039;s certainly not MY job to GUARANTEE that Microsoft isn&#039;t going to do something absolutely braindead in a subsequent version.

TLDR: Until there&#039;s no longer such need, bad browsers beget bad CSS.  Simple as that.</description>
		<content:encoded><![CDATA[<p>While I agree with the gist of this post, I think the blame should be shifted from where it’s currently being placed (“you shouldn’t use CSS hacks”) to where it rightly belongs (“you shouldn’t NEED to use CSS hacks”).  It’s easy to be an idealist about web standards when you don’t have clients blowing up your phone about how awful your work looks because they don’t know how (or care) to install a simple automated update.  And it’s certainly not MY job to GUARANTEE that Microsoft isn’t going to do something absolutely braindead in a subsequent version.</p>
<p>TLDR: Until there’s no longer such need, bad browsers beget bad CSS.  Simple as that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://www.broken-links.com/2009/07/27/bad-advice-people-still-teaching-css-hacks/#comment-34833</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Thu, 08 Oct 2009 17:49:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.broken-links.com/?p=476#comment-34833</guid>
		<description>In most cases I&#039;ve seen, hacks weren&#039;t necessary. It was just easier to insert rather than provide a better layout or, what I find most often, being more explicit in related declarations. I recently chased after one in a design in making a print css for my pages. I started to use a hack then realized that all that was needed was to add an additional property to be more explicit to the class. No hack was needed, just better written CSS.

Unfortunately, some institutions are still using IE6 (my wife&#039;s workplace with 2000+ employees) and have to have pages that will display properly in them. My solution has been to do designs that &quot;work&quot; (degrade gracefully) in IE6 but shine in everything else.

I&#039;m not convinced totally of the maintainability argument you pose. One could include their main CSS references to CSS files unique IE versions containing only hacks and delete the unique files as time goes on without having to update all the pages that have the conditionals. The problem with this approach could be argued that one has to remember to delete the appropriate browser version file when the time comes. One wouldn&#039;t need to remember to do anything with the conditionals.

Your maintainability argument does become more justified when the author isn&#039;t going to be the one that maintains the css. Trying to understand somebody else&#039;s approach in the use of a hack to solve some issue can be easily confused with something that wasn&#039;t intended as a hack at all. Conditionals remove this ambiguity as well as the need to remember to remove browser specific sheets outlined in the previous paragraph.

I&#039;m just glad I don&#039;t have worry about IE3 :)</description>
		<content:encoded><![CDATA[<p>In most cases I’ve seen, hacks weren’t necessary. It was just easier to insert rather than provide a better layout or, what I find most often, being more explicit in related declarations. I recently chased after one in a design in making a print css for my pages. I started to use a hack then realized that all that was needed was to add an additional property to be more explicit to the class. No hack was needed, just better written CSS.</p>
<p>Unfortunately, some institutions are still using IE6 (my wife’s workplace with 2000+ employees) and have to have pages that will display properly in them. My solution has been to do designs that “work” (degrade gracefully) in IE6 but shine in everything else.</p>
<p>I’m not convinced totally of the maintainability argument you pose. One could include their main CSS references to CSS files unique IE versions containing only hacks and delete the unique files as time goes on without having to update all the pages that have the conditionals. The problem with this approach could be argued that one has to remember to delete the appropriate browser version file when the time comes. One wouldn’t need to remember to do anything with the conditionals.</p>
<p>Your maintainability argument does become more justified when the author isn’t going to be the one that maintains the css. Trying to understand somebody else’s approach in the use of a hack to solve some issue can be easily confused with something that wasn’t intended as a hack at all. Conditionals remove this ambiguity as well as the need to remember to remove browser specific sheets outlined in the previous paragraph.</p>
<p>I’m just glad I don’t have worry about IE3 :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jorrit</title>
		<link>http://www.broken-links.com/2009/07/27/bad-advice-people-still-teaching-css-hacks/#comment-33674</link>
		<dc:creator>Jorrit</dc:creator>
		<pubDate>Sun, 16 Aug 2009 04:32:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.broken-links.com/?p=476#comment-33674</guid>
		<description>I disagree.

&lt;b&gt;1.&lt;/b&gt; I agree with Brian on the first argument. I find my CSS easier to maintain when I solve my problems where they occur, using these hacks, rather than splitting them off into separate files.

You say &lt;q&gt;separating out the rules for outdated browsers with conditional comments leaves your standards-compliant stylesheets clean and easy to manage&lt;/q&gt;, but I&#039;m not managing the CSS for modern browsers; I manage it for all supported browsers, including IE6 and IE7. The only time you might be saving here is the time it takes you to remove support for IE6/7, and a search-and-replace to remove the &lt;code&gt;_&lt;/code&gt; and/or &lt;code&gt;*&lt;/code&gt; rules is hardly any more work than deleting the relevant conditional comments and files.

In the mean time you&#039;d have to carefully comment your main CSS file, referencing all IE fixes, to prevent you from accidentally breaking your site in IE when you make any changes to the main CSS. (You do that, don&#039;t you?)

&lt;blockquote&gt;you don’t have to wade through multiple rules looking for the ones you need&lt;/blockquote&gt;

I sort my properties alphabetically, and I don&#039;t think I&#039;ve ever needed more than a few hacked properties (per ruleset) for IE; hardly any wading.

&lt;blockquote&gt;IE6 &amp; IE7 styles are safely out of sight&lt;/blockquote&gt;

Why would you want them to be out of sight when you need them for your site to work on the browsers you support? If you don&#039;t support IE6/7, fine, but then you wouldn&#039;t be using any hacks or separate stylesheets in the first place.

For example, the IE6 stylesheet on this site seems to be outdated and become unnecessary since neither of the IDs mentioned in it actually occur on your site anymore, as far as I can see.

&lt;b&gt;2.&lt;/b&gt; Secondly, first you say &lt;q&gt;[d]isregarding the ‘rights’ and ‘wrongs’, and the validation argument&lt;/q&gt;, and then your second argument is &quot;future-proofing&quot;. I don&#039;t see how this can be about anything other than validation.

You&#039;re only partly right with this argument.

The CSS 2.1 spec says this about valid stylesheets:

&lt;blockquote cite=&quot;http://www.w3.org/TR/CSS2/conform.html&quot;&gt;A valid CSS 2.1 style sheet must be written according to the grammar of CSS 2.1. Furthermore, it must contain only at-rules, property names, and property values defined in this specification. An illegal (invalid) at-rule, property name, or property value is one that is not valid.&lt;/blockquote&gt;

If you look at &lt;a href=&quot;http://www.w3.org/TR/CSS2/grammar.html&quot; rel=&quot;nofollow&quot;&gt;the grammar of CSS 2.1&lt;/a&gt; you&#039;ll find that it is perfectly valid for a property to start with an underscore. So the only thing that makes those properties invalid is the fact that they&#039;re not defined. But that is no different from the vendor-specific extension such as -webkit- or -moz-, and technically all CSS3 properties that haven&#039;t reached the recommendation state yet.

In fact, &lt;a href=&quot;http://www.w3.org/TR/css3-syntax/&quot; rel=&quot;nofollow&quot;&gt;the current draft of the CSS3 Syntax module&lt;/a&gt; defines the underscore as a vendor-specific extension as well. So whatever it may be, it is certainly future-proof.

The same can not be said for the &lt;code&gt;*&lt;/code&gt;, though that same Syntax draft also says:

&lt;blockquote&gt;If a style sheet cannot be parsed according to the grammar above, the user agent must behave the same as it would if the style sheet had the smallest sequence of characters removed from its end that would allow it to be parsed according to the grammar.&lt;/blockquote&gt;

So it &lt;em&gt;should&lt;/em&gt; be safe to use, though clearly illegal.

But there is an alternative for the &lt;code&gt;*&lt;/code&gt;: you can use &quot;&lt;code&gt;\ &lt;/code&gt;&quot; instead.

E.g. &lt;code&gt;body { background: green; \ background: orange; _background: red; }&lt;/code&gt;, which will turn the body green in all standards-compliant browsers, orange in IE7 and red in IE6 and before.

The &quot;escaped space&quot; construction &lt;em&gt;is&lt;/em&gt; valid according to the CSS grammar, so it &lt;em&gt;is&lt;/em&gt; future-proof (so long as they don&#039;t start adding properties starting with an escaped space), and as far as I&#039;ve tested works the same as the &lt;code&gt;*&lt;/code&gt; hack: I tested it in IE6, IE8 (in IE8, IE7 and Quirks mode), Firefox 3.5, Firefox 2.0, Safari 4.0, Opera 9.6 and Opera 10 (beta 3) and only triggers in IE7 and IE6 (and IE&#039;s quirks mode).

&lt;b&gt;3.&lt;/b&gt; I think Brian already addressed well enough.

Also, in your reply to Brian, that IEBlog post you link to does not actually go out and say developers should stop using hacks altogether. It asks developers to look at the specific hacks they mention in that post, because those targeted IE6 by relying on bugs in its CSS parser which were fixed in IE7.

Finally, none of this means I never use conditional comments or always think using the underscore/star/escaped space hacks is the best solution. I just use whichever I find most appropriate.</description>
		<content:encoded><![CDATA[<p>I disagree.</p>
<p><b>1.</b> I agree with Brian on the first argument. I find my CSS easier to maintain when I solve my problems where they occur, using these hacks, rather than splitting them off into separate files.</p>
<p>You say <q>separating out the rules for outdated browsers with conditional comments leaves your standards-compliant stylesheets clean and easy to manage</q>, but I’m not managing the CSS for modern browsers; I manage it for all supported browsers, including IE6 and IE7. The only time you might be saving here is the time it takes you to remove support for IE6/7, and a search-and-replace to remove the <code>_</code> and/or <code>*</code> rules is hardly any more work than deleting the relevant conditional comments and files.</p>
<p>In the mean time you’d have to carefully comment your main CSS file, referencing all IE fixes, to prevent you from accidentally breaking your site in IE when you make any changes to the main CSS. (You do that, don’t you?)</p>
<blockquote><p>you don’t have to wade through multiple rules looking for the ones you need</p></blockquote>
<p>I sort my properties alphabetically, and I don’t think I’ve ever needed more than a few hacked properties (per ruleset) for IE; hardly any wading.</p>
<blockquote><p>IE6 &amp; IE7 styles are safely out of sight</p></blockquote>
<p>Why would you want them to be out of sight when you need them for your site to work on the browsers you support? If you don’t support IE6/7, fine, but then you wouldn’t be using any hacks or separate stylesheets in the first place.</p>
<p>For example, the IE6 stylesheet on this site seems to be outdated and become unnecessary since neither of the IDs mentioned in it actually occur on your site anymore, as far as I can see.</p>
<p><b>2.</b> Secondly, first you say <q>[d]isregarding the ‘rights’ and ‘wrongs’, and the validation argument</q>, and then your second argument is “future-proofing”. I don’t see how this can be about anything other than validation.</p>
<p>You’re only partly right with this argument.</p>
<p>The CSS 2.1 spec says this about valid stylesheets:</p>
<blockquote cite="http://www.w3.org/TR/CSS2/conform.html"><p>A valid CSS 2.1 style sheet must be written according to the grammar of CSS 2.1. Furthermore, it must contain only at-rules, property names, and property values defined in this specification. An illegal (invalid) at-rule, property name, or property value is one that is not valid.</p></blockquote>
<p>If you look at <a href="http://www.w3.org/TR/CSS2/grammar.html" rel="nofollow">the grammar of CSS 2.1</a> you’ll find that it is perfectly valid for a property to start with an underscore. So the only thing that makes those properties invalid is the fact that they’re not defined. But that is no different from the vendor-specific extension such as –webkit– or –moz-, and technically all CSS3 properties that haven’t reached the recommendation state yet.</p>
<p>In fact, <a href="http://www.w3.org/TR/css3-syntax/" rel="nofollow">the current draft of the CSS3 Syntax module</a> defines the underscore as a vendor-specific extension as well. So whatever it may be, it is certainly future-proof.</p>
<p>The same can not be said for the <code>*</code>, though that same Syntax draft also says:</p>
<blockquote><p>If a style sheet cannot be parsed according to the grammar above, the user agent must behave the same as it would if the style sheet had the smallest sequence of characters removed from its end that would allow it to be parsed according to the grammar.</p></blockquote>
<p>So it <em>should</em> be safe to use, though clearly illegal.</p>
<p>But there is an alternative for the <code>*</code>: you can use “<code>\ </code>” instead.</p>
<p>E.g. <code>body { background: green; \ background: orange; _background: red; }</code>, which will turn the body green in all standards-compliant browsers, orange in IE7 and red in IE6 and before.</p>
<p>The “escaped space” construction <em>is</em> valid according to the CSS grammar, so it <em>is</em> future-proof (so long as they don’t start adding properties starting with an escaped space), and as far as I’ve tested works the same as the <code>*</code> hack: I tested it in IE6, IE8 (in IE8, IE7 and Quirks mode), Firefox 3.5, Firefox 2.0, Safari 4.0, Opera 9.6 and Opera 10 (beta 3) and only triggers in IE7 and IE6 (and IE’s quirks mode).</p>
<p><b>3.</b> I think Brian already addressed well enough.</p>
<p>Also, in your reply to Brian, that IEBlog post you link to does not actually go out and say developers should stop using hacks altogether. It asks developers to look at the specific hacks they mention in that post, because those targeted IE6 by relying on bugs in its CSS parser which were fixed in IE7.</p>
<p>Finally, none of this means I never use conditional comments or always think using the underscore/star/escaped space hacks is the best solution. I just use whichever I find most appropriate.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Common CSS Filters and Hacks &#8249; Sam Morris</title>
		<link>http://www.broken-links.com/2009/07/27/bad-advice-people-still-teaching-css-hacks/#comment-33644</link>
		<dc:creator>Common CSS Filters and Hacks &#8249; Sam Morris</dc:creator>
		<pubDate>Fri, 14 Aug 2009 18:11:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.broken-links.com/?p=476#comment-33644</guid>
		<description>[...] course there are arguments for and against developers using [...]</description>
		<content:encoded><![CDATA[<p>[…] course there are arguments for and against developers using […]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NJon</title>
		<link>http://www.broken-links.com/2009/07/27/bad-advice-people-still-teaching-css-hacks/#comment-33611</link>
		<dc:creator>NJon</dc:creator>
		<pubDate>Wed, 12 Aug 2009 22:38:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.broken-links.com/?p=476#comment-33611</guid>
		<description>Using hacks, and then attempting to defend them is the only nature human thing to do. I would be embarrassed as well. Stop hurting the web...</description>
		<content:encoded><![CDATA[<p>Using hacks, and then attempting to defend them is the only nature human thing to do. I would be embarrassed as well. Stop hurting the web…</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chet Woodside</title>
		<link>http://www.broken-links.com/2009/07/27/bad-advice-people-still-teaching-css-hacks/#comment-33456</link>
		<dc:creator>Chet Woodside</dc:creator>
		<pubDate>Thu, 06 Aug 2009 05:36:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.broken-links.com/?p=476#comment-33456</guid>
		<description>This conversations seem to run in circles. Personally I prefer an extra stylesheet for IE6. 

I think the real question is industry certification, why shouldn&#039;t the web development world have certification tests. the certification standards may be hard to develop, but I feel the end result would help both the client (a small measure of confidence added) and the development community by creating an industry wide barrier to entry, which should help cut down on the fly by night types that are rampant in this industry.

Sorry a little off topic but that&#039;s my 2cents.</description>
		<content:encoded><![CDATA[<p>This conversations seem to run in circles. Personally I prefer an extra stylesheet for IE6. </p>
<p>I think the real question is industry certification, why shouldn’t the web development world have certification tests. the certification standards may be hard to develop, but I feel the end result would help both the client (a small measure of confidence added) and the development community by creating an industry wide barrier to entry, which should help cut down on the fly by night types that are rampant in this industry.</p>
<p>Sorry a little off topic but that’s my 2cents.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Roberts</title>
		<link>http://www.broken-links.com/2009/07/27/bad-advice-people-still-teaching-css-hacks/#comment-33368</link>
		<dc:creator>Ryan Roberts</dc:creator>
		<pubDate>Sun, 02 Aug 2009 21:21:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.broken-links.com/?p=476#comment-33368</guid>
		<description>@Peter

&lt;blockquote&gt;Nope. One conditional comment for IE6, one for IE7.&lt;/blockquote&gt;

Or &lt;a href=&quot;http://ryanroberts.co.uk/blog/2009/06/combine-ie6-and-ie7-style-sheets-into-one-css-file/&quot; rel=&quot;nofollow&quot;&gt;one conditional comment for both&lt;/a&gt; ;)</description>
		<content:encoded><![CDATA[<p>@Peter</p>
<blockquote><p>Nope. One conditional comment for IE6, one for IE7.</p></blockquote>
<p>Or <a href="http://ryanroberts.co.uk/blog/2009/06/combine-ie6-and-ie7-style-sheets-into-one-css-file/" rel="nofollow">one conditional comment for both</a> ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NatalieMac</title>
		<link>http://www.broken-links.com/2009/07/27/bad-advice-people-still-teaching-css-hacks/#comment-33346</link>
		<dc:creator>NatalieMac</dc:creator>
		<pubDate>Sat, 01 Aug 2009 22:03:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.broken-links.com/?p=476#comment-33346</guid>
		<description>I think the selector hacks (* html and *:first-child+html) for IE6 and IE7 are perfectly acceptable. They do not make your CSS invalid, and they target rules specifically to two browsers renowned for their disregard for standards. These selector hacks purposefully target quirks specific to those two browsers. For experienced developers, very few style sheet rules require adjustments for IE6 and 7. It seems unnecessary to require the extra requests for a handful of rules, and I know from experience that it makes maintenance a nightmare in a shop with multiple front end developers, or even for a single front end developer. Keeping all of the rules together makes for less requests, easier maintenance, faster creation, and doesn&#039;t kill any kittens.

I would never use any of the underscore or / hacks in the middle of the definitions - those are ugly and invalid, and seem dangerous for future-proofing.

Personally, I think the best overall approach is to use IE conditional comments to write the &lt;html&gt; tag - using the comments to add a class of &#039;ie6&#039;, &#039;ie7&#039; etc. to the html tag. Then that class can be used to target rules for a specific browser without resorting to hacks or separate style sheets. The drawback here is that it only works when the developer has enough control over the markup to do so - which isn&#039;t always the case, unfortunately.</description>
		<content:encoded><![CDATA[<p>I think the selector hacks (* html and *:first-child+html) for IE6 and IE7 are perfectly acceptable. They do not make your CSS invalid, and they target rules specifically to two browsers renowned for their disregard for standards. These selector hacks purposefully target quirks specific to those two browsers. For experienced developers, very few style sheet rules require adjustments for IE6 and 7. It seems unnecessary to require the extra requests for a handful of rules, and I know from experience that it makes maintenance a nightmare in a shop with multiple front end developers, or even for a single front end developer. Keeping all of the rules together makes for less requests, easier maintenance, faster creation, and doesn’t kill any kittens.</p>
<p>I would never use any of the underscore or / hacks in the middle of the definitions — those are ugly and invalid, and seem dangerous for future-proofing.</p>
<p>Personally, I think the best overall approach is to use IE conditional comments to write the &lt;html&gt; tag — using the comments to add a class of ‘ie6’, ‘ie7’ etc. to the html tag. Then that class can be used to target rules for a specific browser without resorting to hacks or separate style sheets. The drawback here is that it only works when the developer has enough control over the markup to do so — which isn’t always the case, unfortunately.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://www.broken-links.com/2009/07/27/bad-advice-people-still-teaching-css-hacks/#comment-33331</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Fri, 31 Jul 2009 23:26:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.broken-links.com/?p=476#comment-33331</guid>
		<description>@Ignacio:

&quot;If you only need 5/10 lines to fix IE issues, should you really add another style sheet? One more request for your server for just 5 lines?&quot; - If your site is so small that only 5/10 lines are needed to fix IE6, I&#039;m sure your server can take the extra hits. Yahoo and Google use invalid stylesheets, don&#039;t close some tags, put the whole markup in one line, etc, because they serve to millions of visitors per day and the costs involved are phenomenal; you don&#039;t have that excuse, I&#039;m sure.

&quot;If you use conditional comments, sometimes you need to make specific browser styles for IE6 or IE7, and to do that, you must use hacks.&quot;

Nope. One conditional comment for IE6, one for IE7.</description>
		<content:encoded><![CDATA[<p>@Ignacio:</p>
<p>“If you only need 5/10 lines to fix IE issues, should you really add another style sheet? One more request for your server for just 5 lines?” — If your site is so small that only 5/10 lines are needed to fix IE6, I’m sure your server can take the extra hits. Yahoo and Google use invalid stylesheets, don’t close some tags, put the whole markup in one line, etc, because they serve to millions of visitors per day and the costs involved are phenomenal; you don’t have that excuse, I’m sure.</p>
<p>“If you use conditional comments, sometimes you need to make specific browser styles for IE6 or IE7, and to do that, you must use hacks.”</p>
<p>Nope. One conditional comment for IE6, one for IE7.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
