Topic: Layer Heights (Page 1 of 1) |
|
---|---|
Obsessive-Compulsive (I) Inmate From: |
posted 12-01-2002 08:02
Hi. I've got this large DIV layer which has smaller DIV layers in it. My smaller DIV's have no set height because they are dynamic. Text will constantly be removed and added, thus allowing no fixed height. However, this larger DIV layer does not seem to realize this and keeps setting its height to zero. Since I have no fixed height, I tried using height:auto;, but I got the same results--the larger DIV layer's height was still zero. |
Bipolar (III) Inmate From: Berlin (almost) |
posted 12-01-2002 09:56 |
Obsessive-Compulsive (I) Inmate From: |
posted 12-01-2002 11:13
ok, i got it up http://www.peehee.com/index.html <---that's the page http://www.peehee.com/css/general.css http://www.peehee.com/css/home.css <---there are 2 css files in there, #content in general.css is the stubbor layer that wont expand http://www.peehee.com/scripts/news.js <---i have a javascript in there, but i doubt it has anything to do with this issue |
Bipolar (III) Inmate From: Berlin (almost) |
posted 12-01-2002 11:51
The problem might be that you're using absolute positioning for that #content <div>. Do you really need to have it positioned that way? I mean, it's just there to make a centered box around the whole page, isn't it? |
Obsessive-Compulsive (I) Inmate From: |
posted 12-02-2002 00:04
Hey, thanks a lot. It worked. I was just wondering if you could tell me why it works though..? Why does using absolute positioning cause this to happen? |
Bipolar (III) Inmate From: Berlin (almost) |
posted 12-03-2002 13:00
Glad it worked quote: |