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

DIV CSS realizes left and right columns_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:29:28
Original
2514 people have browsed it


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

}

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template