div+css一行+二行

来源:互联网 发布:手机淘宝的设置在哪 编辑:程序博客网 时间:2024/05/16 17:54
<style>
.jju
{
    padding-top:40px;
    height:50px;
    font-size:14px;
    color:Black;
    background-color:red;
}
</style>
<div class="jju">dss</div>
<style>
#a{
position:relative;
width:100px;
height:100px;
background:#999;
}
#b{
position:absolute;
height:10px;
width:100%;
background:blue;
bottom:0px;
}
</style>
<div id="a">
<div id="b"><a href="http://flash.sunvv.com/sunvv.swf?id=6550&swfurl=/flash_old/20082.swf">B</a></div>
</div>
原创粉丝点击