網站首頁之早期布局

來源:互聯網
上載者:User

標籤:通知   padding   meta   nav   比較   w3c   height   charset   alt   

網站首頁之早期布局方法,雖然現在基本不用了,但是我感覺還是應該知道的,說你不定哪一年的哪一天這種布局格式又火了。不排除這種可能,就像十年之前非常流行的喇叭褲一樣,說不定十年之後這種網站布局方式又火了呢?,至少值得收藏。當然,後期還會給出目前電腦行業比較流行的網站布局方式。

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"><title>float</title><style type="text/css">*{margin: 0px;padding: 0px;}.index{width: 960px;margin: 0px auto;}.logo{height: 160px;background-color: red;}.nav{height: 45px;background-color: green;}.scroll{height: 30px;background-color: yellow;line-height: 30px;}.con{height: 450px;background-color: skyblue;}.con-left{float: left;width: 36%;height: 450px;background-color: #123;}.con-center{float: left;width: 36%;height: 450px;background-color: red;margin-left: 0.5%;}.con-right{float: right;width: 27%;height: 450px;background-color: #789;}.top{height: 223px;background-color: #afc;}.bottom{margin-top: 5px;height: 222px;background-color: #d0f;}.footer{height: 55px;background-color: #254;}</style></head><body><div class="index"><div class="logo"></div><div class="nav"></div><div class="scroll"><marquee behavior="" direction="">重要通知</marquee></div><div class="con"><div class="con-left">1</div><div class="con-center">2</div><div class="con-right"><div class="top">上</div><div class="bottom">下</div></div></div><div class="footer"></div></div></body></html>

  在這兒,太醜,但是技術真的很實在。

網站首頁之早期布局

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.