ASP编程,div图层
来源:百度知道 编辑:UC知道 时间:2024/06/25 15:52:40
麻烦高手给个简单易懂的代码
我在线懂了,希望速度,搞定加到50分
还是不懂,我的意思谁能给较完整的代码,我直接套用好了,因为我不是很懂代码
这个代码你看行不
<html>
<head>
<style type="text/css">
#test1 { width: 300px; }
/* 头部总体 css */
.ntab2-head {
clear:both; height: 21px;
border-bottom: #c2130e 3px solid;
text-align: center;
}
/* 头部标头的 css */
.ntab2-head p {
float:left; font-size: 14px; font-weight: bold;
width: 80px; height: 21px;
}
/* 头部列表的 css */
.ntab2-head li {
float:left; background: #dcdcdc; border-left: #f2f2f2 1px solid;
width: 42px; cursor: pointer; font-size: 14px;
line-height: 21px; list-style-type: none;
}
.ntab2-head li.current {
background: #c2130e; color: #ffffff; cursor: none;
}
/* 主体内容的 css? */
.ntab2-body {
text-align: left;
}
.ntab2-body dl {
text-indent: 0px; margin: 0px; padding: 0px;
}
</style>
</head>
<title>哈哈</title>