Ok, the nav looks great in Firefox... as usual. But i can't figure out what to put as a fix for IE. Here is the website link... http://www.peekwebdesigns.com/portfolio.htm Here is my css code: ul.nav{ display: table; } ul.block{ width: 100%; table-layout: fixed; } ul.nav>li{ display: table-cell; position: relative; padding: 2px 20px; } /* ul.nav>li:hover{ padding-right: 1px; }*/ ul.nav li>ul{ display: none; position: absolute; max-width: 40em; margin-left: -20px; margin-top: 2px; padding: 2px 5px; } ul.nav li:hover>ul{ display : block; } .nav ul li a{ display: block; padding: 2px 10px; } /*Menu styles*/ ul.nav, .nav ul, .nav ul li a{ background-color: #fff; color: #3C1E00; } ul.nav li:hover, .nav ul li a:hover{ background-color: #fff; color: #3C1E00; text-decoration: underline; } ul.nav li:active, .nav ul li a:active{ background-color: #A85400; color: #fff; } ul.nav, .nav ul{ border: none; } .nav a{ text-decoration: none; }
You should use floats and margin padding on the ul/li to achieve this not table display. You should also remove your table/tr/td tags alltogether - we're in 2007