How-to mix fixed and percentage heights/width using css without javascript

前端 未结 2 1321
天命终不由人
天命终不由人 2021-01-01 02:18

I want to achieve a layout like this:

 -----------------------------------------------------------
|                                                                 


        
2条回答
  •  醉话见心
    2021-01-01 02:42

    you can achieve layout like that very simple to be honest just read about divs and some css heres a example:

    dont forget that the width: 604px is only for example just set it to 100% to use all screen size same goes for height.

    good luck.

    example: http://jsfiddle.net/DCbur/2/

    dont forget to vote if you like the answer

提交回复
热议问题