View Single Post
Old 07-10-2008, 10:10 PM   #1 (permalink)
delayedinsanity
is cute and cuddly
 
delayedinsanity's Avatar
 
Join Date: Mar 2008
Location: Vegas, Baby
Posts: 963
Thanks: 31
delayedinsanity is on a distinguished road
Default CSS and if statements

Does anybody know much about CSS and conditional statements?

I have the following fixes in my CSS;

Code:
<!--[if IE 5]>
img, div {behavior: url('iepngfix.htc');}
<![endif]-->
<!--[if lt IE 7 ]>
body {behavior:url('csshover.htc');}
<![endif]-->
The first is obviously the IE pngfix, the second being the Internet Explorer :hover pseudo class fix. Now when I put these at the top of my global.css it breaks my layout in FF3. When I place it at the bottom, it doesn't. Why this is? I'm not sure and would be curious to know, especially since I don't have pre IE 7 to test either of the fixes locally to see if they're even working properly.
-m
delayedinsanity is offline  
Reply With Quote