Results 1 to 2 of 2

Thread: DD Color Tabs

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

    Default

    I am having trouble getting the color tabs to show in IE 7, but after doing some testing, I have narrowed down that it is the header code above the dd tags that is causing the problem. When I remove the header the tags show, however, it causes the alignment to be messed up. Any suggestions wil be greatly appreciated. I am including a screenshot of the tabs before removing the header div, and after.





    My css code is as follows:


    /* ie5 win - grrr - start */
    body {
    font: small serif;
    margin: 0px;
    padding: 0px;
    line-height: 14px;
    color: #000;
    font-size: x-small;
    voice-family: "\"}\"";
    voice-family: inherit;
    font-size: small;
    text-align: center; }
    /* ie5 win - grrr - end */

    /* opera - grrr - start */
    html body {
    font-size: small;
    }
    /* opera - grrr - end */


    /* start of the real css */

    /* basic elements */
    body {
    color: #000000;
    background-color: #9C7B31;
    background-image: url(images/sitebg.gif);
    background-repeat: repeat;
    font-size: 11px;
    line-height: 14px;
    font-family: Cochin, Georgia, "New Century Schoolbook", "Bitstream Vera Serif", "Times New Roman", times, serif;
    text-align: left;
    margin: 0px;
    padding: 0px;
    }
    p {
    font-size: 14px;
    line-height: 14px;
    font-family: Cochin, Georgia, "New Century Schoolbook", "Bitstream Vera Serif", "Times New Roman", times, serif;
    text-align: left;
    margin: 0px;
    padding: 0px;
    }
    h1 {
    font-size: 20px;
    line-height: 20px;
    font-weight: bold;
    font-family: Cochin, Georgia, "New Century Schoolbook", "Bitstream Vera Serif", "Times New Roman", times, serif;
    text-align: left;
    margin: 0px;
    padding: 0px;
    }

    h2, h3 {
    font-size: 18px;
    line-height: 18px;
    font-weight: bold;
    font-family: Cochin, Georgia, "New Century Schoolbook", "Bitstream Vera Serif", "Times New Roman", times, serif;
    text-align: left;
    margin: 0px;
    padding: 0px;
    }

    a:link {
    font-weight: bold;
    text-decoration: none;
    color: #000000;
    }
    a:visited,
    a:visited:hover {
    font-weight: bold;
    text-decoration: none;
    color: #000000;

    }
    a:hover,
    a:active {
    text-decoration: underline;
    color: #381110;
    }
    acronym {
    font-weight: normal;
    font-style: normal;
    border: 0;
    }
    img { margin:2px;
    border: 0;
    text-align:center;
    margin-top:0px;
    margin-bottom:0px;
    padding:0px;
    }
    /* major divs */
    #container {
    width: 900px;
    position: relative;
    margin: 0px auto 0px auto;
    padding: 0px 0px 0px 0px;
    background-color: #9C7B31;
    }

    #header {
    width: 450px;
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
    background-color: #9C7B31;
    }

    #content {
    width: 450px;
    margin: 4px 0px 0px 0px;
    padding: 0px 10px 0px 10px;
    }

    #linkList {
    position: absolute;
    top: 175px;
    left: 0px;
    width: 220px;
    margin: 0px 0px 0px 682px;
    padding: 0px 0px 0px 0px;
    }

    /* minor divs */
    #pageHeader {
    width: 900px;
    height: 20px; /* strange but ie6 needs this */
    background-image: url(images/topper.gif);
    background-position: top center;
    background-repeat: no-repeat;
    border-top: 0px;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    border-left: 1px solid #000;
    margin: 0px 0px 0px 0px;
    padding: 150px 0px 0px 0px;
    }

    #pageHeader h1 {
    width: 600px;
    color: #000;
    font-size: 25px;
    line-height: 30px;
    font-weight: bold;
    margin: -50px 0px 0px 10px;
    padding: 0px 0px 0px 0px;
    }

    #pageHeader h2 {
    width: 600px;
    color: #000;
    font-size: 16px;
    line-height: 16px;
    font-weight: normal;
    padding: 0px 0px 0px 3px;
    margin: 0px 0px 0px 10px;
    padding: 0px 0px 10px 4px;
    }

    .contentbox {
    width: 650px;
    border: 1px solid #9C7B31;
    background-position: bottom center;
    background-repeat: no-repeat;
    background-color: #9C7B31;
    margin: 0px -10px 10px -10px;
    padding: 10px 10px 20px 10px;
    }


    #footer {
    width: 662px;
    border: 1px solid #000;
    background-position: center center;
    background-repeat: repeat;
    background-color: #9C7B31;
    margin: 10px -10px 20px -10px;
    padding: 4px 4px 4px 4px;
    text-align: center;
    }

    .contentbox p , .contentbox li {
    padding-bottom: 8px;
    text-align: justify;
    line-height: 100%;
    }

    .contentbox h3 {
    color: #000000;
    background-color: #000000;
    background-image: url(images/longbg.gif);
    background-position: bottom center;
    background-repeat: repeat;
    font-size: 11px;
    line-height: 16px;
    text-transform: uppercase;
    margin: -10px -10px 4px -10px;
    padding: 3px 4px 4px 10px;
    }

    #linkList ul {
    border-top: 1px dotted #381110;
    margin: 5px 5px 0px 5px;
    padding: 0px 0px 0px 0px;
    }

    #linkList li {
    display: block;
    list-style-type: none;
    color: #381110;
    background-color: #9C7B31;
    font-size: 13px;
    line-height: 14px;
    font-weight: normal;
    font-style: italic;
    font-family: Cochin, Georgia, "New Century Schoolbook", "Bitstream Vera Serif", "Times New Roman", times, serif;
    text-align: left;
    border-bottom: 1px dotted #381110;
    margin: 0px 0px 0px 0px;
    padding: 3px 5px 3px 5px;
    }

    #linkList li a:link,
    #linkList li a:visited,
    #linkList li a:visited:hover,
    #linkList li a:hover,
    #linkList li a:active {
    display: block;
    line-height: 14px;
    font-style: normal;
    color: #000000;
    }

    #linkList li:hover,
    #linkList li a:hover{
    display: block;
    font-style: normal;
    color: #9C7B31 !important;
    }

    #linkList h3 {
    color: #381110;
    background-color: #967D44;
    background-image: url(images/contentbg.gif);
    background-position: center right;
    background-repeat: repeat-x;
    font-size: 14px;
    line-height: 16px;
    font-weight: bold;
    font-family: Cochin, Georgia, "New Century Schoolbook", "Bitstream Vera Serif", "Times New Roman", times, serif;
    text-transform: uppercase;
    text-align: left;
    border-bottom: 1px solid #381110;
    margin: 0px 0px 0px 0px;
    padding: 3px 5px 3px 5px;
    }

    .thelinks {
    background-image: url(images/sitebg2.gif);
    background-position: bottom center;
    background-repeat: repeat-y;
    background-color: #313929;
    border: 1px solid #000000;
    margin: 0px 0px 10px 0px;
    padding: 0px 0px 30px 0px;
    }

    /* hovers */

    #linkList li:hover{
    background-color: #9C7B31;
    color: #000;
    }


    /* -- Image alignment classes -- */

    .imgLeft, .imgRight {
    margin: 5px;
    }

    .imgLeft {
    float: left;
    margin-left: 0px;
    }

    .imgRight {
    float: right;
    margin-right: 0px;
    }

    img
    {
    border: 0;
    }
    /*added from the dynamicdrive website because tabs 11 arent working in ie7*/
    #ddcolortabs{
    margin-left: 4px;
    padding: 0;
    width: 100%;
    background: transparent;
    voice-family: "\"}\"";
    voice-family: inherit;
    padding-left: 5px;
    }

    #ddcolortabs ul{
    font: bold 11px Arial, Verdana, sans-serif;
    margin:0;
    padding:0;
    list-style:none;
    }

    #ddcolortabs li{
    display:inline;
    margin:0 2px 0 0;
    padding:0;
    text-transform:uppercase;
    }


    #ddcolortabs a{
    float:left;
    color: black;
    background: #9C7B31 url(images/color_tabs_left.gif) no-repeat left top;
    margin:0 2px 0 0;
    padding:0 0 1px 3px;
    text-decoration:underline;
    letter-spacing: 1px;
    }

    #ddcolortabs a span{
    float:left;
    display:block;
    background: transparent url(images/color_tabs_right.gif) no-repeat right top;
    padding:4px 9px 2px 6px;
    }

    #ddcolortabs a span{
    float:none;
    }


    #ddcolortabs a:hover{
    background-color: #313929;
    }

    #ddcolortabs a:hover span{
    background-color: #313929;
    }

    #ddcolortabs #current a, #ddcolortabs #current span{ /*currently selected tab*/
    background-color: #313929;
    }

    #ddcolortabsline{
    clear: both;
    padding: 0;
    width: 100%;
    height: 8px;
    line-height: 8px;
    background: #678b3f;
    /*border-top: 1px solid #fff; /*Remove this to remove border between bar and tabs*/
    }
    /*tabs*/
    #tabs11 {
    float:left;
    width:900px;
    font-size:93%;
    line-height:normal;
    margin-top: -13px;
    }
    #tabs11 ul {
    margin:0;
    padding:10px 10px 0 50px;
    list-style:none;
    }
    #tabs11 li {
    display:inline;
    margin:0;
    padding:0;
    }
    #tabs11 a {
    float:left;
    background:url(images/tableft11.gif) no-repeat left top;
    margin:0;
    padding:0 0 0 4px;
    text-decoration:none;
    }
    #tabs11 a span {
    float:left;
    display:block;
    background:url(images/tabright11.gif) no-repeat right top;
    padding:5px 15px 4px 6px;
    color:#381110;
    }
    /* Commented Backslash Hack hides rule from IE5-Mac \*/
    #tabs11 a span {float:none;}
    /* End IE5-Mac hack */
    #tabs11 a:hover span,
    #tabs11 a.currentTab span{
    color:#967D44;
    }
    #tabs11 a:hover,
    #tabs11 a.currentTab {
    background-position:0% -42px;
    }
    #tabs11 a:hover span,
    #tabs11 a.currentTab span {
    background-position:100% -42px;
    }
    Last edited by countingsheep; 02-02-2007 at 04:03 PM.

  2. #2
    Join Date
    Feb 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I managed to fix it as far as I am aware. 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
  •