Hello.
I have had some issues with getting a site to work in ie7 and ie8. It seems to have to do with the inline-block issue but I can not seem to get a fix to work. From what I see, I am running into these issues.
It seems to be ignoring list-style-type: none.
It seems to be ignoring inline-block.
I have tried a few fixes, but none seem to work.
Here is what I have:
Code:
/* IE7 only */
nav ul li {
display:inline;
zoom:1
}
And I have this as my main style sheet:
Code:
/* Main navigation styling */
nav {
width: 40%;
position: absolute;
left: 590px;
top: 155px;
}
nav ul {
list-style-type: none;
}
nav ul li {
display: inline-block;
margin-left: 15px;
}
ul.navmenu li a {
display: block;
width: 90px;
height: 40px;
background-image: url(images/navbuttons.png);
font: 14px Arial, Helvetica, sans-serif;
}
ul.navmenu li.home a {
background-position: 0 0;
}
ul.navmenu li.about a {
background-position: -105px 0;
}
ul.navmenu li.gallery a {
background-position: -218px 0;
}
ul.navmenu li.contact a {
background-position: -335px 0;
}
ul.navmenu li.home a:hover {
background-position: 0 -40px;
}
ul.navmenu li.about a:hover {
background-position: -105px -40px;
}
ul.navmenu li.gallery a:hover {
background-position: -218px -40px;
}
ul.navmenu li.contact a:hover {
background-position: -335px -40px;
}
I appreciate any help I can get.