兩欄 三欄的css

來源:互聯網
上載者:User
三欄格局 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh" lang="zh"><head profile="http://www.w3.org/2000/08/w3c-synd/#"><meta http-equiv="content-language" content="zh-cn" /><meta http-equiv="content-type" content="text/html;charset=gb2312" /><title>blueidea</title><style type="text/css">/*<![CDATA[*/div {position:absolute;top:50%;left:50%;margin:-100px 0 0 -300px;}/*]]>*/</style></head><body><div style="background:#404040;width:200px;height:200px;">1</div><div style="background:#FD7C03;width:200px;height:200px;margin:-100px 0 0 -100px;">2</div><div style="background:#eee;width:200px;height:200px;margin:-100px 0 0 100px;">3</div></body></html>
相關文章

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.