...

View Full Version : Would this work?



Muffin_Fox
11-24-2008, 04:11 PM
Hay again, still just loving IE, and working on this damn website. I had an idea how to solve my problem with a conditional statement, and I want to know if I should even bother trying it:

Here is the Head of one of the HTML docs:

<head>
<title>Sachem North Tech Department Webpage</title>
<!--[if IE]><link rel="stylesheet" type="text/css" href="iefix.css" /> <![endif]-->
<link rel="stylesheet" type="text/css" href="stdcss.css" />
</head>

BoldUlysses
11-24-2008, 04:33 PM
Yes, that should work, although I would place the conditional comment after the main stylesheet link, since the goal of the "IE Fix" is to "amend" (i.e. hack) the main stylesheet, and CSS properties cascade:


<head>
<title>Sachem North Tech Department Webpage</title>
<link rel="stylesheet" type="text/css" href="stdcss.css" />
<!--[if IE]><link rel="stylesheet" type="text/css" href="iefix.css" /> <![endif]-->
</head>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum