Results 1 to 5 of 5

Thread: Centering my words in the tab

  1. #1
    Join Date
    Feb 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Centering my words in the tab

    I am having an issue centering my words in the tab.. its at www.nyghtraevyn.com/test2 for a look see. I am stumped.. i am sure its a padding thing but i just cant find where. Can anyone help? My css code is below:

    body {
    margin:0;
    padding:0;
    font: bold 12px/1.5em Verdana;
    }

    h2 {
    font: bold 14px Verdana, Arial, Helvetica, sans-serif;
    color: #000;
    margin: 0px;
    padding: 0px 0px 0px 15px;
    }

    img {
    border: none;
    }

    /*- Menu Tabs--------------------------- */


    #tabsH {
    float:left;
    width:100%;
    background:#000;
    font-size:100%;
    line-height:normal;
    }
    #tabsH ul {
    margin:0;
    padding:2px 10px 0 10px;
    list-style:none;
    }
    #tabsH li {
    display:inline;
    margin:0;
    padding:0;

    }
    #tabsH a {
    float:left;
    background:url("tableftH.gif") no-repeat left top;
    margin:0;
    padding:0 0 0 4px;
    text-decoration:none;
    }
    #tabsH a span {
    float:left;
    display:block;
    background:url("tabrightH.gif") no-repeat right top;
    padding:10px 10px 4px 5px;
    color:#FFF;
    }
    /* Hide rule from IE5-Mac \*/
    #tabsH a span {float:none;}
    /* End IE5-Mac hack */
    #tabsH a:hover span {
    color:#FFF;
    }
    #tabsH a:hover {
    background-position:0% -42px;
    }
    #tabsH a:hover span {
    background-position:100% -42px;
    }

  2. #2
    Join Date
    Mar 2006
    Location
    Cleveland, Ohio
    Posts
    574
    Thanks
    6
    Thanked 5 Times in 5 Posts

    Default

    Do a simple text-align: center; in the li.
    Thou com'st in such a questionable shape
    Hamlet, Act 1, Scene 4

  3. #3
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default

    welcome to the forums Raevyn. please review our General Posting Policies especially #8 in regards to posting code (you will need to scroll down to reply 7). Also thank you for the descriptive title

  4. #4
    Join Date
    Feb 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    oh sorry.. i will try to be more careful next time.

  5. #5
    Join Date
    Feb 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by alexjewell View Post
    Do a simple text-align: center; in the li.
    thanx!

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
  •