/ Published in: HTML
Expand |
Embed | Plain Text
<!--[if lte IE 6]> <link rel="stylesheet" type="text/css" href="/css/ie6_fix.css" /> <![endif]--> <!--[if IE 7]> <link rel="stylesheet" type="text/css" href="/css/ie7_fix.css" /> <![endif]-->
Comments
Subscribe to comments
You need to login to post a comment.

remember that a good coder don't use these things, so if u happen of a need to this.. u're probably doing something wrong :)
Also remember that a lot of people do use horrible code, and I don't always have the time to go through it all for them and seeing as this is one of the things I am frequently explaining it's easier to point them here.
I don't think I have ever used conditional inclusions.
So you're not a 'good' coder if you use conditional includes to fix a broken browser? Tell that to the guys who made Snipplr. (Have a peek at the source and see for yourself)
Personally I see nothing wrong with using conditional comments. They still allow the page to validate and make it easy to separate odd CSS for bad browsers (IE) from good CSS for good browsers (everything else).