Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Aug 2007
    Posts
    15
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Can Somebody Please Show Me How To...

    ...center the menus under my sample header banner? Thank you so much in advance!

    Here is the page:

    http://www.toplinepublishing.com/thisisasamplepage.html

    and here is the css file:

    http://www.toplinepublishing.com/dropdown.css

    Thanks!

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Add this to your CSS
    Code:
    #dropdowncontainer {width:1065px;margin:auto;}
    .dropdown {width:198px;margin-right:15px;float:left;}
    .dropdown dt {width:188px; border:2px solid #9ac1c9; padding:8px; font-weight:bold; cursor:pointer; background:url(images/header.gif);}
    and wrap a single div around all of your drop downs, not each one and give it an id of dropdowncontainer.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • Users who have thanked _Aerospace_Eng_ for this post:

    mbdonner (09-04-2008)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •