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
Like Tree1Likes
  • 1 Post By Fireproofgfx

Thread: Centering bottom links in a website

  1. #1
    Junior Member
    Join Date
    Dec 2016
    Posts
    1
    Member #
    55904

    Centering bottom links in a website

    Help! I'm new to web design and I have a problem. How do I center the bottom navigation links in a website?

  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
    Put them in a div or an unordered list that is itself centered, and make sure that the links are set to either inline or inline-block. If you use an unordered list, you'll need to do something similar with the li elements (no floats!)
    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
    Senior Member Fireproofgfx's Avatar
    Join Date
    Apr 2012
    Location
    Washington
    Posts
    839
    Member #
    31498
    Liked
    171 times
    Here you this is what I did on this website Washington State Representative Drew MacEwen (R) 35th District, Position 2 When you are looking at a website and are curious how they did something, take a look at the code by hitting CTRL U or right click on website and select view page source and see for yourself, it will help to learn the different techniques. I hope this helps!

    HTML Code:
    <div class="footer">
    <div class="footer_links">
    <a href="#">Home</a>
    <a href="#">About</a>
    <a href="#">Issues</a>
    <a href="#">Media</a>
    <a href="# ">Contact</a>
    </div>
    </div>
    [CSS]
    .footer {
    margin: auto;
    background-image:url(footer_bg.png);
    width: 950px;
    height: 131px;
    clear: both;
    font-family: 'Roboto', sans-serif;
    color: #fff;
    font-size: 14px;
    }
    .footer_links {

    font-weight: 700;
    padding-top:75px;
    text-align: center;
    }
    [/CSS]
    TheGAME1264 likes this.


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 10:43 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com