I am having a problem with a menu i made from scratch. It has a 1 pixel border on both the top and bottom for each element. Then when hovered it changes to a 2 pixel border with a different color. Now in Google Chrome it works beautifully. But IE 7 refuses to show the borders. Here is my css code:
here is the html code for the menu:HTML Code:.menu{ float: left; border-top: 1px solid #888888; border-bottom: 1px solid #888888; width: 100%; overflow: hidden; margin: 0px 0px 0px 0px; } .menu ul{ display:inline-block !important; list-style-type: none; } .menu ul li{ float: left; } .menu li a{ padding: 5px 5px 5px 5px; border-bottom: 1px solid #CCCCCC !important; border-top: 1px solid #CCCCCC !important; color: #888888 !important; text-decoration: none; } .menu li a:hover{ border-top: 2px solid #888888 !important; border-bottom: 2px solid #888888 !important; color: #444444 !important; }
This seriously baffles me... Help is greatly appreciated...HTML Code:<div class="menu"> <ul> <li><a href="index.php">Home</a></li> <li><a href="team.php">Team Profiles</a></li> <li><a href="portfolio.php">Portfolio</a></li> <li><a href="experience.php">Experience</a></li> <li><a href="contact.php">Contact Us</a></li> <li><a href="login.php">Client Login</a></li> </ul> </div>![]()


Reply With Quote

Bookmarks