DreamPoet
05-14-2007, 05:15 PM
1) Script Title: DD Tabs Menu II
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/ddtabmenu2.htm
3) Describe problem: The script itself seems to be working fine, but the browser (IE) gives an "Error on Page" warning. When I checked to see what the error was, it said that the following line is missing an object:
background-color: #CDDADA;
Here is the entire script with the error portion in red:
<style type="text/css">
.halfmoon{
margin-bottom: 4px;
}
.halfmoon ul{
padding: 3px 9px 2px 5px;
margin-left: 0;
margin-top: 1px;
margin-bottom: 0;
font: bold 14px Verdana;
list-style-type: none;
text-align: left; /*set to left, center, or right to align the menu as desired*/
border-bottom: 1px solid #929492;
}
.halfmoon li{
display: inline;
margin: 0;
}
.halfmoon li a{
text-decoration: none;
padding: 3px 9px 2px 5px;
margin: 0;
margin-right: 0; /*distance between each tab*/
border-left: 1px solid #DDD;
color: black;
font: bold 14px Verdana;
background: #ECEEEC url(tabright.gif) top right no-repeat;
}
.halfmoon li a:visited{
color: black;
}
.halfmoon li a:hover, .halfmoon li a.current{
background-color: #CDDADA;
color: navy;
}
#tabcontentcontainer{
width:95%; /*width of 2nd level content*/
height:1.5em; /*height of 2nd level content. Set to largest's content height to avoid jittering.*/
}
.tabcontent{
display:none;
}
</style>
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/ddtabmenu2.htm
3) Describe problem: The script itself seems to be working fine, but the browser (IE) gives an "Error on Page" warning. When I checked to see what the error was, it said that the following line is missing an object:
background-color: #CDDADA;
Here is the entire script with the error portion in red:
<style type="text/css">
.halfmoon{
margin-bottom: 4px;
}
.halfmoon ul{
padding: 3px 9px 2px 5px;
margin-left: 0;
margin-top: 1px;
margin-bottom: 0;
font: bold 14px Verdana;
list-style-type: none;
text-align: left; /*set to left, center, or right to align the menu as desired*/
border-bottom: 1px solid #929492;
}
.halfmoon li{
display: inline;
margin: 0;
}
.halfmoon li a{
text-decoration: none;
padding: 3px 9px 2px 5px;
margin: 0;
margin-right: 0; /*distance between each tab*/
border-left: 1px solid #DDD;
color: black;
font: bold 14px Verdana;
background: #ECEEEC url(tabright.gif) top right no-repeat;
}
.halfmoon li a:visited{
color: black;
}
.halfmoon li a:hover, .halfmoon li a.current{
background-color: #CDDADA;
color: navy;
}
#tabcontentcontainer{
width:95%; /*width of 2nd level content*/
height:1.5em; /*height of 2nd level content. Set to largest's content height to avoid jittering.*/
}
.tabcontent{
display:none;
}
</style>