Web|web Standard | create | pages are designed using WEB standards, and there is a belief that you don't use the Table Glen for basic page layout.
The two-column layout common to a Web page is usually done by a table of 1 rows and 2 columns. For example:
<table border= "0" width= "760" >
<tr>
<TD style= "width:30%;" > left column </td>
<TD style= "width:70%;" > right Column </td>
</tr>
</table>
Using the Float property of a Div object, it can be implemented completely, with the page code as follows:
<div id= "Container" >
<div id= "Sidecolumn" > left column </div>
<div id= "Maincolumn" > right column </div>
</div>
The accompanying CSS code is:
#Container {
width:760px;
}
#SideColumn {
width:200px;
Float:left;
border:1px solid #00F;
}
#MainColumn {
width:550px;
Float:right;
border:1px solid #000;
}
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.