该网站在这里:
在此页面上,您可以看到选项卡当前为蓝色,但我目前正在处理脱机文件,我正在将其转换为在整个网站设计中都可以看到的自然绿色。不幸的是,我不知道我做了什么,感觉我疲倦的眼睛无法注意到错误......无论是在代码中还是在图像中......
离线标签导航问题:http: //i255.photobucket.com/albums/hh157/redbairn/Oops_zps240d13a5.jpg
[下面的代码是Tab导航的当前代码:]
div.content {
border: 3px solid #095;
clear: left;
padding: 1em;
overflow:hidden;
}
div.content.inactive {
display: none;
}
ol#toc {
height: 2em;
list-style: none;
margin: 0;
padding: 0;
}
ol#toc a {
background: #bdf url(tabs.gif);
display: block;
float: left;
height: 2em;
padding-left: 10px;
text-decoration: none;
}
ol#toc a:hover {
background-color: #3af;
background-position: 0 -120px;
}
ol#toc a:hover span {
background-position: 100% -120px;
}
ol#toc li {
float: left;
margin: 0 1px 0 0;
}
ol#toc li a.active {
background-color: #095;
background-position: 0 -60px;
color: #fff;
font-weight: bold;
}
ol#toc li a.active span {
background-position: 100% -60px;
}
ol#toc span {
background: url(tabs.gif) 100% 0;
display: block;
line-height: 2em;
padding-right: 10px;
}
[离线/新代码:]
div.content {
border: 3px solid #095;
clear: left;
padding: 1em;
overflow:hidden;
}
div.content.inactive {
display: none;
}
ol#toc {
height: 2em;
list-style: none;
margin: 0;
padding: 0;
}
ol#toc a {
color: #008;
display: block;
float: left;
height: 2em;
padding-left: 10px;
text-decoration: none;
background-color: #6c9;
background-image: url(tabs.gif);
}
ol#toc a:hover {
background-color: #0c6;
background-position: 0 -120px;
}
ol#toc a:hover span {
background-position: 100% -120px;
}
ol#toc li {
float: left;
margin: 0 1px 0 0;
}
ol#toc li a.active {
background-color: #096;
background-position: 0 -60px;
color: #fff;
font-weight: bold;
}
ol#toc li a.active span {
background-position: 100% -60px;
}
ol#toc span {
background: url(tabs.gif) 100% 0;
display: block;
line-height: 2em;
padding-right: 10px;
}