Jump to content

Menu CSS in FF appears wider than it should


Recommended Posts

Hi all,

 

The site I'm building at the moment is http://natural.sqcms.co.uk/ and the menu on the left appears to work fine in IE. In FF though, the menu appears wider than it should, pushing the boundaries of the menu cells to the right.

 

The code for a cell is:

 

<td><a class="link" href="http://natural.sqcms.co.uk/bedroom.php" onmouseover="divMenu.show('menu2', this, 120, 0)" onmouseout="divMenu.hide('menu2')">Bedroom</a>

 

(the onmouseover shows the floating JS menu)

 

and the CSS for 'link' class is:

 

width: 100%;
padding: 2px;
font-weight: bold;
display: block;
text-decoration: none;
color: #656D36;
font-size: 12px;
border-bottom: 1px dotted #fff;
background: #B2B296;

 

Thanks for any help/advice in advance.

 

Xur~

  • 2 weeks later...

I tested your home page for html validation at w3.org and came up with 34 validation errors:

http://validator.w3.org/check?uri=http%3A%2F%2Fnatural.sqcms.co.uk%2F&charset=%28detect+automatically%29&doctype=Inline

 

--if the page doesn't validate then ie might display it in quirks mode which will make it even more different looking than in ff. ie might start using non standards paddings, margins, font inheritence, box models, ect, on every css attribute not specifically set.

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.