3层下拉列表

,1,建3层列表

<title>无标题文档</title>
<style>
*{
margin:0px;
padding:0px;}
.a{
border:0;
height:50px;
width:200px;
top:100px;
left:100px;
background-color:#0C0;
text-align:center;
vertical-align:middle;
overflow:hidden;
line-height:50px;
position:absolute

}
.aa{
border:0;
height:50px;
width:200px;
top:100px;
left:100px;
background-color:#FF6;
text-align:center;
vertical-align:middle;
overflow:visible;
line-height:50px;
position:absolute

}
.b{
border:0 ;
height:50px;
width:200px;
top:50px;

background-color:#636;
text-align:center;
vertical-align:middle;
overflow:hidden;
line-height:50px;
position:absolute
}
.bb{
border:0;
height:50px;
width:200px;
top:50px;

background-color:#93F;
text-align:center;
vertical-align:middle;
overflow:visible;
line-height:50px;
position:absolute
}
.c{
border:0;
height:50px;
width:200px;
top:100px;

background-color:#9FC;
text-align:center;
vertical-align:middle;

line-height:50px;
position:absolute
}
.d{
border:0;
height:50px;
width:200px;
top:150px;
background-color:#F0C;
text-align:center;
vertical-align:middle;
line-height:50px;
position:absolute
}
#b{
border:1px;
height:150px;
width:200px;
top:0px;
left:200px;
text-align:center;
vertical-align:middle;
position:absolute;
}

</style>

</head>

<body>
<div class="a" οnmοuseοver="this.className='aa'" οnmοuseοut="this.className='a'">滚动新闻

<div class="b" οnmοuseοver="this.className='bb'" οnmοuseοut="this.className='b'" >娱乐
<div id="b">
<table cellpadding="0px" cellspacing="0px">
<tr><td bgcolor="#339933" width="200px">2</td></tr>
<tr><td bgcolor="#99FF66" width="200px">4</td></tr>
<tr><td bgcolor="#FF00CC" width="200px">6</td></tr>

</table></div>

</div>
<div class="c">民生</div>
<div class="d">军事</div>
</div>

</div>

 

转载于:https://www.cnblogs.com/wanlibingfeng/p/5325892.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值