小编use*_*623的帖子

Is there a way to make absolutely positioned divs expand the container?

I have html template - div#container inside body, and some absolutely-positioned divs in container w/o fixed height. Is there a way to expand container to 100% height of page?

Here is an image demostrating my problem: http://habreffect.ru/files/4f3/54ad48420/q.png

I understand, that absolutely positioned divs are "invisible" for container, but unfortunately i got browser window expanded. The problem is, that i can't make body to fit 100% of page, and if I make height:100% of body (and html) it will fit 100% …

html css

6
推荐指数
1
解决办法
480
查看次数

标签 统计

css ×1

html ×1