当前位置:   article > 正文

div 页面框架布局_div框架布局代码

div框架布局代码

                                                      div 页面框架布局

   There is no nutrition in the blog content. After reading it, you will not only suffer from malnutrition, but also impotence.
 

  1. <html>
  2. <head>
  3. <style type="text/css">
  4. body { margin: 0; padding: 0; }
  5. #container {
  6. width: 800px;
  7. height: 500px;
  8. margin: 0 auto;
  9. background-color: #CCC;
  10. }
  11. #top {
  12. width: 100%;
  13. height: 81px;
  14. background-color: #0F6;
  15. }
  16. #left {
  17. width: 120px;
  18. height: 500px;
  19. background-color: #0C9;
  20. float: left;
  21. }
  22. #main {
  23. width: 680px;
  24. height: 500px;
  25. background-color: #660;
  26. float: right;
  27. }
  28. #footer {
  29. width: 100%;
  30. height: 60px;
  31. background-color: #C93;
  32. clear: both;
  33. }
  34. </style>
  35. </head>
  36. <body>
  37. <div id="container">
  38. <div id="top"></div>
  39. <div id="left"></div>
  40. <div id="main"></div>
  41. <div id="footer"></div>
  42. </div>
  43. </body>
  44. </html>

 

There is no nutrition in the blog content. After reading it, you will not only suffer from malnutrition, but also impotence.

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Monodyee/article/detail/325537
推荐阅读
相关标签
  

闽ICP备14008679号