March 18, 200917 yr Hey all, I have a problem which is browser specific, its the usual browser everyone loves to hate IE 6. It work's fine in Firefox and IE 7 but when in IE 6 it displays all the links in the middle of the page with a border to the right of them. Screenshot in IE 6. Screenshot in IE 7/FireFox. Basically it's your usual menu using unordered list and list items and inline of course below is the code, can you see what screws it up cos I'm having a shocker today! css .menu {width:980px; border-bottom:10px solid #9ebd74; color:#000; height:22px; display:block; background:#fff; font-size:95%;margin-bottom:8px;} .menu ul {display:inline; list-style-type:none; margin:0; padding:0;} .menu li {display:block; float:left; padding:3px 5px 0 5px; border-right:1px solid #9ebd74; text-align:center;} .menu a {color:#000; font-weight:bold; display:block; height:15px; padding:0 3px;} .menu-left {float:left;} .menu-right {float:right; padding-top:3px;} html <div class="menu"> <ul> <li><asp:HyperLink ID="HyperLinkHome" runat="server" CssClass="selected" NavigateUrl="~/default.aspx" EnableViewState="false">Home</asp:HyperLink></li> <li><asp:HyperLink ID="HyperLinkAboutUs" runat="server" NavigateUrl="~/AboutUs.aspx" EnableViewState="false">About Us</asp:HyperLink></li> <li><a href="http://www.whatmediacentre.co.uk/contact.aspx" target="_blank">Request Login</a></li> <li><a href="#" title="Register for Updates" onclick="<%=WhatMedia.Common.utils.GetRegisterForUpdatesJavaScript %>">Register for e-newsletters</a></li> <li style="border-right:1px solid #fff;"><asp:HyperLink ID="HyperLinkContactUs" runat="server" NavigateUrl="~/ContactUs.aspx" EnableViewState="false">Contact Us</asp:HyperLink></li> </ul> </div>
March 18, 200917 yr It might be worth posting all your code being as css can be inherited through containing elements etc....
Create an account or sign in to comment