Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

problem with menu in IE 6

Featured Replies

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>

It might be worth posting all your code being as css can be inherited through containing elements etc....

  • Author

Don't matter fixed it, it was a width issue i.e. had none!

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.