62,046
社区成员
发帖
与我相关
我的任务
分享
#divImgBtn
{
border-style: solid;
height: 500px;
width: 500px;
}
#ImgBtn
{
list-style-type: none;
border-style: solid;
height: 50px;
width: 50px;
margin-left: 160px;
margin-top: 450px;
}
<div id="divImgBtn">
<ul>
<li id="ImgBtn">
ImgBtn<asp:ImageButton ID="ImageButton1" runat="server"/>
</li>
</ul>
</div>
#box1 {
position : relative ;
background : red ;
height : 100px ;
width : 100px ;
}
#box2 {
position : absolute ;
background : #BBB ;
height : 20% ;
width : 100% ;
left : 0 ;
bottom : 0 ;
}
<div id="box1">
<div id="box2">在下边了</div>
</div>