CSS making two divs equal height with display table

前端 未结 2 890
自闭症患者
自闭症患者 2020-12-03 17:24

In the following HTML, the div .left and .right have different heights. Is it possible to make both divs same height without defining the height. I have tried using display:

2条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-03 18:10

    Something like this?

    http://jsfiddle.net/fJbTX/3/

    I took out the float property

提交回复
热议问题