Home > Article > Web Front-end > DIV CSS realizes left and right columns_html/css_WEB-ITnose
;
Main content< asp:BulletedList ID="BulletedList1" runat="server" DisplayMode="HyperLink">
lt;asp:ListItem>sss left; / *Text left aligned*/
float:left; /*Float left*/
clear:left; /*Floats are not allowed on the left*/
overflow:hidden; /*The part beyond the width is hidden* /
background-color: #66cc33;
}
#mainBodyer
{
width: 570px;
text-align: left;
float: right; /*Float right*/
clear: right; /*No floats allowed on the right side*/
overflow: hidden;
}