SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Mar 2004
    Location
    UK
    Posts
    48
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Align my footer navigation centrally - Text-align center not working?

    Hi

    How can I align my footer navigation centrally please? I've tried applying a text-align:center; attribute to the relevant footer elements with no luck
    Cheers

    http://www.treehousewebbo.f2s.com/

  2. #2
    doing my best to help c2uk's Avatar
    Join Date
    May 2005
    Location
    Cardiff
    Posts
    1,832
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try this:
    Code:
    #footer-nav {
    	margin: 0;
    	text-align: center;
    }
    
    #footer-nav li {
    	display:inline;
    	margin-right: 0.5em;
    	padding-right: 0.5em;
    	border-right: 1px solid;
    }
    Works for me in Firefox, haven't tested it in other browsers.
    Dan G
    Marketing Strategist & Consultant

  3. #3
    SitePoint Enthusiast
    Join Date
    Mar 2004
    Location
    UK
    Posts
    48
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    c2uk

    Works fine now thanks


Bookmarks

Posting Permissions

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