Alternative to layout in HTML
前端 未结 5 1153
忘了有多久
忘了有多久 2021-02-04 07:48

Right now I have a webpage set up to be exactly the size of the browser window with a couple overflow:scroll \'s in it.

Basically, the page is arranged in t

5条回答
  •  时光取名叫无心
    2021-02-04 08:32

    Well, the basic way you do this is to break your page up into six

    s:

    1
    2
    3
    4
    5
    6

    Then you write some CSS:

    div.left {
        float: left;
        clear: both;
    }
    

    And you should get something like:

    1   2
    
    3   4
    
    5   6
    

    No nested

    needed.

提交回复
热议问题