3 columns, center column fixed, sides fill parents

后端 未结 3 1077
南旧
南旧 2020-12-01 23:05

How can I make B be a fixed 800px size while A and C fill the space, so they are all together touching? http://jsfiddle.net/8ufuV/

3条回答
  •  攒了一身酷
    2020-12-01 23:15

    Fixed it up for you http://jsfiddle.net/8ufuV/17/ You need to float all the elements left; and then specific a width (don't forget about padding/margins when doing so). On an element you want to appear below them add clear:left; to it.

    Good luck

提交回复
热议问题