One row three columns Div+css layout

Source: Internet
Author: User
Tags header
CSS row three columns div+css layout; This is an example of what was done last night;

CSS section:
Program Code

div section:

Program code
header





left<

< div id= "center" > Millionaire's son to do business with friends, cheated the rich son and friends to do business. The rich man's son was cheated by his business with his friends. The rich man's son was cheated by his business with his friends. The rich man's son was cheated by his business with his friends. The rich man's son cheated with his friend. The rich man's son was cheated by his business with his friends.


right




footer



Instance effect:

HTML code <! doctypehtml Public "-//w3c//dtd XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd "><ptml xmlns=" http://www.w3.org/1999/xhtml "><pead><meta http-equiv=" Content-type "content=" text/html; Charset=utf-8 "/><style>/* mouse www.zishu.cn */body{margin:0px;padding:0px;font-size:12px;line-height:1.8; Font-family:verdana, song body; #footer {background: #FF66CC;} #header {background: #FF3300;} #footer, #header, #wrap {Clear:both} #info {width:100%;background: #FF9900; float:left;} #left {float:left;width:200px;background: #CC9966;} #center {margin:0 200px;background: #666;} #right {margin-left:-200px; float:left; background: #CC6666; width:200px;} </style></head><body><div id= "header" >header</div><div id= "wrap" ><div id= " Info "> <div id=" left ">left<</div> <divid=" center "> Millionaire's son is doing business with friends, cheated the millionaire's son to do business with friends. The rich man's son was cheated by his business with his friends. The rich man's son was cheated by his business with his friends. The rich man's son was cheated by his business with his friends. The rich man's son cheated with his friend. The rich man's son was cheated by his business with his friends. </div></div&gT;<div id= "Right" >right</div></div> <!--wrap End--><div id= "Footer" >footer</div ></body></html>

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.