asp.net div 使用

例1:
<div style="100px; height:50px;">
<div style="float:left; 50px; height:50px; background-color:blue"></div>
<div style="float:left; 50px; height:50px; background-color:red"></div>
</div>

例2:
<div style="100px; height:50px;">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td>
<div style="50px; height:50px; background-color:blue"></div>
</td>
<td>
<div style="50px; height:50px; background-color:red"></div>
</td>
</tr>
</table>
</div>
例3:
<div style="100px; height:50px;">
<div style=" float:left;50px; height:50px; background-color:blue"></div>
<div style="height:50px; background-color:red; overflow:hidden;"></div>
</div>
原文地址:https://www.cnblogs.com/code1992/p/2883177.html