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;
}

 

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.