Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Mar 2014
    Posts
    2
    Member #
    38652

    Aligning Top Navigation To Center

    Hi,

    I'm working on this website:
    Carpet Cleaning Berkeley | Professional Rug, Sofa, Upholstery Cleaning Services in Berkeley, CA

    I would like to align the top nav to center, not left. Like in Carpet Cleaning Santa Clara, California | Rug Cleaners and Water Damage Specialists
    The problem is whatever I tried with CSS and HTML isn't working.
    Can you take a look at the code and let me know what has to be changed?

    Thanks

  2.  

  3. #2
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    Take the float: left; out of your top-menu nav.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  4. #3
    Junior Member
    Join Date
    Mar 2014
    Posts
    2
    Member #
    38652

    Taking out the float: left doesn't do it

    Quote Originally Posted by TheGAME1264 View Post
    Take the float: left; out of your top-menu nav.
    I verified by unchecking the property
    #top-menu {
    float: left;
    in chrome browser inspect element feature.

    Also: to view without manipulation: uncheck padding-left property
    #top-menu > ul > li > a {
    padding-bottom: 10px;
    padding-left: 50px;


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 04:00 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com