Home  >  Article  >  Web Front-end  >  DIV CSS realizes left and right columns_html/css_WEB-ITnose

DIV CSS realizes left and right columns_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:29:282490browse


                                                                                                     ;
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;

background-color: #ff9933;

}

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn