Jump to content

Menu is not staying centered


wolfkin

Recommended Posts

or to be more accurate i should say I never got it centered. I can't figure out why.

here's the code for the menu

 

and here's a portion of the CSS

    /* --- Main Menu - ala suckerish --- */
   #menu {
   background-color: #BA83A2;
   width:902px; /*-two more than the wrapper-*/
   text-align:center;
   }
   #menu ul {
   list-style: none;
   }
   #menu li {
   float: left;
   }
   #menu a {
   display: block;
   width: 5em;
   }

       /* child menu */
       #menu li ul {
       position: absolute;
       width: 5em;
       top: -999em;
       left: -999em;
       }        
       #menu li:hover ul, #menu li.hover ul {
       top: auto;
       left: auto;
       }

   /* --- Footer Menu --- */
   #footer ul {
   }
   #footer li {
   }
   #footer li a {
   }
   #footer li a:active, #footer li a:focus, #footer li a:hover {
   }

is there any reason I'm missing why my menu looks like this: Webpage%20Title%20Here%20-%20Mozilla%20Firefox%2017062009%20100056%20PM.jpg

 

It's not live so I can't give a link but it's small so I can upload it to sendspace if you think it might be something in the entire CSS file.







Home
About Me
Books

Book 1
Book 2


Contact

Edited by wolfkin
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

Loading...
×
×
  • Create New...