CSS - relative positioned parent div not stretching to absolute child div height

后端 未结 5 937
执念已碎
执念已碎 2020-11-28 07:08

I\'ve been googling this all morning and can\'t seem to get it to work:

I have a parent DIV with Relative positioning and a two column child DIV setup inside of it,

5条回答
  •  天涯浪人
    2020-11-28 08:10

    I have just been struggling with that for a while and found a real solution CSS-only is to change positioning of 'absolute' divs to 'relative'. This really works!!!

    Tested on a Mac, using Safari 5.1.5 and Chrome 21.0....

    Hope this will help someone else.

提交回复
热议问题