I'm working on a website that uses a strict, fixed-size layout. There is a simple list-based navigation system on the left, and the main content in an area to the right.
See the test page at: http://www.barberdesign.co.uk/duo/heathrow_express.html
(Link to complete stylesheet: http://www.barberdesign.co.uk/duo/css/duo.css)
CSS in question:
To complicate matters, the site area uses a mixture of Flash and HTML, to make the site move the way the client wants, but also be search engine friendly. To do this I've created separate divs to contain the HTML naviagtion, HTML content and Flash navigation/content, and stacked them using z-index with "w-mode: transparent" on the Flash.#menu {
position: absolute;
width: 150px;
background-color: #fff;
font-size: 13px;
z-index: 2;
}
ul#nav {
list-style-type: none;
width: 100%;
}
ul#nav li {
height: 15px;
line-height: 15px;
}
The problem I have is getting the list-based menu items to be the same height in all browsers. This is essential because the Flash will be in a fixed position, so if the HTML navigation comes down too low on one browser, it will overlap the Flash on some pages.
At the moment it displays correctly in the modern standards compliant browsers, (Firefox Mac/PC, Opera Mac/PC, IE7, and Safari) but IE6 PC is showing the li's with a larger pixel height dimension, and therefore coming further down the page.
Does anyone know how to force IE to display the li's at the height specified in the stylesheet?!
Thank youuuuuuuuu!







Bookmarks