Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: DD Color Tabs II at center

  1. #1
    Join Date
    Jul 2007
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    hi,

    how can i move this menu to the center:

    http://www.dynamicdrive.com/style/cs...color-tabs-ii/

    ??? please help me!

    thanks
    Last edited by tech_support; 08-05-2007 at 07:13 AM.

  2. #2
    Join Date
    Dec 2006
    Posts
    74
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    try using this for the CSS part:
    Code:
    <style type="text/css">
    
    /*Credits: Dynamic Drive CSS Library */
    /*URL: http://www.dynamicdrive.com/style/ */
    
    #invertedtabs{
    margin-left: 4px;
    padding: 0;
    width: 100&#37;;
    background: transparent;
    voice-family: "\"}\"";
    voice-family: inherit;
    padding-left: 5px;
    text-align:center;
    }
    
    #invertedtabs ul{
    font: bold 11px Arial, Verdana, sans-serif;
    margin:0;
    margin-bottom: 1em; /*margin between menu and rest of content*/
    padding:0;
    list-style:none;
    }
    
    #invertedtabs li{
    display:inline;
    margin:0 2px 0 0;
    padding:0;
    text-transform:uppercase;
    line-height: 1.5em;
    }
    
    
    #invertedtabs a{
    float:left;
    color: white;
    background: #8b0000 url(media/color_tabs_left2.gif) no-repeat left bottom;
    margin:0 2px 0 0;
    padding:0 0 0 3px;
    text-decoration:none;
    letter-spacing: 1px;
    }
    
    #invertedtabs a span{
    float:left;
    display:block;
    background: transparent url(media/color_tabs_right2.gif) no-repeat right bottom;
    padding:3px 9px 3px 6px;
    }
    
    #invertedtabs a span{
    float:none;
    }
    
    
    #invertedtabs a:hover{
    background-color: #d50509;
    }
    
    #invertedtabs a:hover span{
    background-color: #d50509;
    }
    
    #invertedtabs #current a, #invertedtabs #current span{ /*currently selected tab*/
    background-color: #d50509;
    }
    
    #invertedtabsline{
    clear: both;
    padding: 0;
    width: 100%;
    height: 8px;
    line-height: 8px;
    background: #8b0000;
    border-bottom: 1px solid #fff; /*Remove this to remove border between bar and tabs*/
    }
    
    </style>
    warning: not tested

  3. #3
    Join Date
    Jul 2007
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    didn't work!

  4. #4
    Join Date
    May 2006
    Location
    Sydney, Australia - Near the coast.
    Posts
    1,995
    Thanks
    0
    Thanked 8 Times in 7 Posts

    Default

    We need a link to your page!
    Also, try this for the CSS:
    Code:
    <style type="text/css">
    
    /*Credits: Dynamic Drive CSS Library */
    /*URL: http://www.dynamicdrive.com/style/ */
    
    #invertedtabs{
    margin-left: 4px;
    padding: 0;
    width: 100&#37;;
    background: transparent;
    voice-family: "\"}\"";
    voice-family: inherit;
    padding-left: 5px;
    text-align:center;
    margin:0 auto;
    }
    
    #invertedtabs ul{
    font: bold 11px Arial, Verdana, sans-serif;
    margin:0;
    margin-bottom: 1em; /*margin between menu and rest of content*/
    padding:0;
    list-style:none;
    text-align:center;
    margin:0 auto;
    }
    
    #invertedtabs li{
    display:inline;
    margin:0 2px 0 0;
    padding:0;
    text-transform:uppercase;
    line-height: 1.5em;
    }
    
    
    #invertedtabs a{
    float:left;
    color: white;
    background: #8b0000 url(media/color_tabs_left2.gif) no-repeat left bottom;
    margin:0 2px 0 0;
    padding:0 0 0 3px;
    text-decoration:none;
    letter-spacing: 1px;
    }
    
    #invertedtabs a span{
    float:left;
    display:block;
    background: transparent url(media/color_tabs_right2.gif) no-repeat right bottom;
    padding:3px 9px 3px 6px;
    }
    
    #invertedtabs a span{
    float:none;
    }
    
    
    #invertedtabs a:hover{
    background-color: #d50509;
    }
    
    #invertedtabs a:hover span{
    background-color: #d50509;
    }
    
    #invertedtabs #current a, #invertedtabs #current span{ /*currently selected tab*/
    background-color: #d50509;
    }
    
    #invertedtabsline{
    clear: both;
    padding: 0;
    width: 100%;
    height: 8px;
    line-height: 8px;
    background: #8b0000;
    border-bottom: 1px solid #fff; /*Remove this to remove border between bar and tabs*/
    }
    
    </style>
    Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
    Currently: enjoying the early holidays :)
    Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide

  5. #5
    Join Date
    Jul 2007
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    i don't know why you need a page to help me!!!

    can't you just move this menu to the center??? use the same tags on the link i gave in my first post!

    NO PAGE...just move the to the center...

  6. #6
    Join Date
    May 2006
    Location
    Sydney, Australia - Near the coast.
    Posts
    1,995
    Thanks
    0
    Thanked 8 Times in 7 Posts

    Default

    Yeah. I'll just "magically" move your tabs to the center.

    We need to see your page to help you out. Don't worry, we're not going to hack your page or anything.

    Just like a firefighter needs access to your home to put out the fire.
    Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
    Currently: enjoying the early holidays :)
    Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide

  7. #7
    Join Date
    Jul 2007
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    seriously...i haven't created any pages yet. just want to know if this menu can be used for the page i have been thinking...how can i give you the page when it's only on paper!!!

  8. #8
    Join Date
    May 2006
    Location
    Sydney, Australia - Near the coast.
    Posts
    1,995
    Thanks
    0
    Thanked 8 Times in 7 Posts

    Default

    HAVE YOU TESTED THE CSS CODE YET?
    Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
    Currently: enjoying the early holidays :)
    Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide

  9. #9
    Join Date
    Jul 2007
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    yes of course

  10. #10
    Join Date
    May 2006
    Location
    Sydney, Australia - Near the coast.
    Posts
    1,995
    Thanks
    0
    Thanked 8 Times in 7 Posts

    Default

    And did it work?
    Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
    Currently: enjoying the early holidays :)
    Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide

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
  •