Cinditional comments

Sitepoint Members,
I read this tip on another site. It sounds like it could be useful but I’m not sure what it means.

“Conditional comments can block resources from loading in parallel in Internet Explorer. Place an empty conditional comment before any external resources to eliminate the blocking behavior.”

What does it mean?

Thanks,

Chris

Chris,

That sounds like

<!--[if IE]>
<link rel="stylesheet" type="text/css" href="css/IE.css" />
<![endif]-->

but it also sounds like someone was drinking something other than Kool-Aid!

Moderators - not sure where this belongs but it’s not in Apache.

Regards,

DK

There is a very detailed explanation over here: http://www.phpied.com/conditional-comments-block-downloads/ :slight_smile:

Just another reason that IMHO if you have to resort to conditional comments for markup or css, you’re using the wrong markup or css… which is why most every time I see that nonsense, I assume the page it’s on is built using flawed methodologies or is chock full of ‘gee ain’t it neat’ useless bloat.