Jump to content

uhh why is my nav menu bunched up to the right in firefox?


KDM

Recommended Posts

I just put them in a table. It looks fine now.

 

no tables :P

 

since i cant see how it was before here is some base for a horizontal nav

ul#menu {
     float: right;  /* or use left */
     margin: -65px 0px 0px 0px; /*aligns the menu along the y-axis */
}

ul#menu li {
     display: inline; /* crucial */
     margin: 0px auto;
     padding: 0px;
     text-align: center; /*optional */
}

ul#menu li a {
     color: #FF6600;
     display: block; /* crucial - makes the entire block a href */
     float: left;
     margin: 0px 0px 0px 35px; /* use margin here to push and pull links together - prolly you error of trouble last time */
     padding: 0px 0px 0px 5px;
     text-decoration: none; /*optional */
}

ul#menu li a:hover, #menu li.current a, #menu li a:focus { /* will take care of all mouse-over states */
     border-bottom: 2px solid #FF6600;
     color: #FFF;
}

 

 

 

Link to comment
Share on other sites

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.