SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: center align?

  1. #1
    SitePoint Wizard lukeurtnowski's Avatar
    Join Date
    Mar 2003
    Location
    Coronado
    Posts
    1,666
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    center align?

    what is the correct way to center align the footer in
    http://miamiasp.com/main.shtml
    Thanks...
    "Oh, and Jenkins--apparently your mother died this morning."

  2. #2
    padawan silver trophybronze trophy markbrown4's Avatar
    Join Date
    Jul 2006
    Location
    Victoria, Australia
    Posts
    4,118
    Mentioned
    28 Post(s)
    Tagged
    2 Thread(s)
    Hi,

    I would probably make the ul element 100% width and have text-align: center; then make the li elements display: inline.

  3. #3
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,555
    Mentioned
    183 Post(s)
    Tagged
    6 Thread(s)
    Or find the width of the ul and use margin:auto;

    Code:
    #footertabs{
    width:852px;
    margin:0 auto;
    padding: 0;
    float: none;
    font: bold 13px Tahoma;
    background:red;
    }


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
  •