Can someone help me with this CSS issue? I can't seem to find out what's wrong. Maybe I've been in front of the computer too long... Internet Explorer looks different from Firefox
Please Help! (CSS Problem)
5
Can someone help me with this CSS issue? I can't seem to find out what's wrong. Maybe I've been in front of the computer too long...
Internet Explorer looks different from Firefox
Here is the part of the source code where it's referenced:
If the one above isn't good or can't be fixed, is there a better solution for a horizontal menu?
Internet Explorer looks different from Firefox
Code:
#navcontainer ul {
padding-left: 0;
margin-left: 0;
background-color: #036;
color: White;
float: left;
width: 100%;
font-family: arial, helvetica, sans-serif;
}
#navcontainer ul li { display: inline; }
#navcontainer ul li a {
padding: 0.2em 1em;
background-color: #036;
color: White;
text-decoration: none;
float: left;
border-right: 1px solid #fff;
}
#navcontainer ul li a:hover {
background-color: #369;
color: #fff;
} Code:
<!--NAVIGATION ON TOP STARTS --> <div id="navcontainer"> <ul> <li><a href="#">Item two</a></li> <li><a href="#">Item three</a></li> <li><a href="#">Item four</a></li> <li><a href="#">Item five</a></li> </ul> </div> <!--NAVIGATION ON TOP ENDS --> <div id="header"> </div>
- Kezz
- iBBnet
- HomeBizNizz
- [1] reply
- petebolduc
- cheapdeals Banned
Next Topics on Trending Feed
-
5