I'm making a new website.
I have my navigation bar division set with a "inline-block" display property, which doesn't seem to work correctly with IE7 and below.
I can fix this by setting the display property to "inline" but standards compliant browsers hide the background image, which is not what I want.
So I need to have some sort of override for the display property for IE7 and older.
So I tried this code:
HTML Header
<link href="css/home.css" rel="stylesheet" type="text/css" />
<!--[if lte IE 7]>
<link rel="stylesheet" type="text/css" href="href="css/home_ie7.css" />
<![endif]-->
CSS: home_ie7.css
@charset "utf-8";
/* CSS Document */
#nav {display:inline;}
And it doesn't work.
I've also tried adding !important to the CSS but it still doesn't work.
All help is appreciated.
WyattSoft