<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="keywords" content=""/>
<meta name="description" content=""/>
<title>选项卡制作</title>
<style type="text/css">
*{margin: 0;padding: 0;}
ul,h3,p{margin: 0;padding: 0;}
a{text-decoration: none;
color: #928F8F;
font-size: 14px;}
a:hover{text-decoration: underline;}
#nav{width: 220px;
background:/*#0477c0*//*rgba(0, 0, 0, 0.0980392)*/rgba(0, 0, 0, 0.0666667);
margin: 0 0 0 100px;
float: left;
/*border: 1px solid #000;*/}
.title{line-height:50px ;
color: #000000;
font-family: "微软雅黑";
background: rgba(0, 0, 0, 0.0980392) url(img/title.png) no-repeat 20px;
text-indent: 45px;}
ul{}
li{position: relative;
list-style: none;
height: 70px;
text-indent: 10px;
/*border-bottom: 1px solid #0099ff;*/
}
li:hover{background: rgb(255,255,255);}
h3{color: #000000;
line-height: 40px;
font-weight: 600;
font-size: 16px;
background: url(img/li.png) no-repeat 184px;}
#nav ul li .menu{position: absolute;
display: none;
left: 220px;
top: 0;
border: 1px solid #000;
}
</style>
</head>
<body>
<div id="nav">
<div class="title">
全部课程
</div>
<ul>
<li>
<h3>职业技能</h3>
<p>
<a href="" target="_blank">职场技能</a>
<a href="" target="_blank">SNS营销</a>
<a href="" target="_blank">公务员</a>
</p>
<div class="menu">
<img src="img/2.png"/>
</div>
</li>
<li>
<h3>IT培训</h3>
<p>
<a href="" target="_blank">职场技能</a>
<a href="" target="_blank">SNS营销</a>
<a href="" target="_blank">公务员</a>
</p>
</li>
<li>
<h3>语言学习</h3>
<p>
<a href="" target="_blank">职场技能</a>
<a href="" target="_blank">SNS营销</a>
<a href="" target="_blank">公务员</a>
</p>
</li>
<li>
<h3>中小学/大学</h3>
<p>
<a href="" target="_blank">职场技能</a>
<a href="" target="_blank">SNS营销</a>
<a href="" target="_blank">公务员</a>
</p>
</li>
<li>
<h3>兴趣爱好</h3>
<p>
<a href="" target="_blank">职场技能</a>
<a href="" target="_blank">SNS营销</a>
<a href="" target="_blank">公务员</a>
</p>
</li>
<li>
<h3>亲子课堂</h3>
<p>
<a href="" target="_blank">职场技能</a>
<a href="" target="_blank">SNS营销</a>
<a href="" target="_blank">公务员</a>
</p>
</li>
<li>
<h3>职业技能</h3>
<p>
<a href="" target="_blank">职场技能</a>
<a href="" target="_blank">SNS营销</a>
<a href="" target="_blank">公务员</a>
</p>
</li>
</ul>
</div>
</body>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript">
$("#nav ul li").hover(function(){
$(this).find(".menu").show();
},function(){
$(this).find(".menu").hide();
});
</script>
</html>
<html>
<head>
<meta charset="utf-8" />
<meta name="keywords" content=""/>
<meta name="description" content=""/>
<title>选项卡制作</title>
<style type="text/css">
*{margin: 0;padding: 0;}
ul,h3,p{margin: 0;padding: 0;}
a{text-decoration: none;
color: #928F8F;
font-size: 14px;}
a:hover{text-decoration: underline;}
#nav{width: 220px;
background:/*#0477c0*//*rgba(0, 0, 0, 0.0980392)*/rgba(0, 0, 0, 0.0666667);
margin: 0 0 0 100px;
float: left;
/*border: 1px solid #000;*/}
.title{line-height:50px ;
color: #000000;
font-family: "微软雅黑";
background: rgba(0, 0, 0, 0.0980392) url(img/title.png) no-repeat 20px;
text-indent: 45px;}
ul{}
li{position: relative;
list-style: none;
height: 70px;
text-indent: 10px;
/*border-bottom: 1px solid #0099ff;*/
}
li:hover{background: rgb(255,255,255);}
h3{color: #000000;
line-height: 40px;
font-weight: 600;
font-size: 16px;
background: url(img/li.png) no-repeat 184px;}
#nav ul li .menu{position: absolute;
display: none;
left: 220px;
top: 0;
border: 1px solid #000;
}
</style>
</head>
<body>
<div id="nav">
<div class="title">
全部课程
</div>
<ul>
<li>
<h3>职业技能</h3>
<p>
<a href="" target="_blank">职场技能</a>
<a href="" target="_blank">SNS营销</a>
<a href="" target="_blank">公务员</a>
</p>
<div class="menu">
<img src="img/2.png"/>
</div>
</li>
<li>
<h3>IT培训</h3>
<p>
<a href="" target="_blank">职场技能</a>
<a href="" target="_blank">SNS营销</a>
<a href="" target="_blank">公务员</a>
</p>
</li>
<li>
<h3>语言学习</h3>
<p>
<a href="" target="_blank">职场技能</a>
<a href="" target="_blank">SNS营销</a>
<a href="" target="_blank">公务员</a>
</p>
</li>
<li>
<h3>中小学/大学</h3>
<p>
<a href="" target="_blank">职场技能</a>
<a href="" target="_blank">SNS营销</a>
<a href="" target="_blank">公务员</a>
</p>
</li>
<li>
<h3>兴趣爱好</h3>
<p>
<a href="" target="_blank">职场技能</a>
<a href="" target="_blank">SNS营销</a>
<a href="" target="_blank">公务员</a>
</p>
</li>
<li>
<h3>亲子课堂</h3>
<p>
<a href="" target="_blank">职场技能</a>
<a href="" target="_blank">SNS营销</a>
<a href="" target="_blank">公务员</a>
</p>
</li>
<li>
<h3>职业技能</h3>
<p>
<a href="" target="_blank">职场技能</a>
<a href="" target="_blank">SNS营销</a>
<a href="" target="_blank">公务员</a>
</p>
</li>
</ul>
</div>
</body>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript">
$("#nav ul li").hover(function(){
$(this).find(".menu").show();
},function(){
$(this).find(".menu").hide();
});
</script>
</html>