HTML write web page how to layout

How is HTML write how to layout? This issue may be often seen in our daily study or work. I hope that you can give you a deep harvest through this issue. Below is the reference content brought by Xiaobian, let’s take a look!

There are two kinds of layouts commonly used by HTML. The first one is that the DIV layout, the advantage is that it is more convenient and simple, the code is relatively small, the production and maintenance is relatively easy, that is, some different browser compatibility is different, there may be different display. The second is the Table layout, the code is more, and it is very headache until later maintenance, but the Table layout avoids many browser incompatible issues.

      BODY {margin: 0;} #header {width: 100%; Height: 90px; Background: # b19f9d;} #NAV {margin: 0 auto; width: 70%; Height: 90px; Background: #fcf; } .content: 900px; background: # 847369; margin: 0 auto;} .left {width: 30%; Height: 900px; background: # decfd4; float: left;} .right {width: 70%; Height: 900px; Background: # b3a19d; float: Left;} footer {width: 100%; Height: 150px; Background: # a8817a;}        
2. Table layout

             summary: 
© Copyright Notice
THE END
Just support it if you like
like0
share
comment Grab the couch

Please log in to comment

Table layout is relatively limited, DIV is open, the design style is more, the effect is beautiful, and the benefits of Table is that all browsers are compatible with Div disadvantages is that compatibility is very troublesome. Thank you for reading! After reading the above, do you know how to lay down the HTML write page? I hope that the content of the article will help everyone. If you want to know more about the relevant textChapter content, welcome to pay attention to Tumi Yun Industry Information Channel.