January 13, 200917 yr I'm working a project and i have so many hacks for ie6, and i want it to separate the hacks into another CSS file. Would it that be possible? I haven't tried it yet since i working a project. I mean one html file with a two CSS link into html.
January 13, 200917 yr Place all of your css hacks in to one stylesheet called obsolete-browser.css. Then use a conditional comment to direct IE6 to that stylesheet. <!--[if IE 6]> <link rel="stylesheet" type="text/css" href="/path/to/obsolete-browser.css" /> <![endif]--> Make sure you place this below any other links to your standard stylesheets.
January 14, 200917 yr Place all of your css hacks in to one stylesheet called obsolete-browser.css.Then use a conditional comment to direct IE6 to that stylesheet. <!--[if IE 6]> <link rel="stylesheet" type="text/css" href="/path/to/obsolete-browser.css" /> <![endif]--> Make sure you place this below any other links to your standard stylesheets. Excellent advice ElanMan.
Create an account or sign in to comment