3 replies [Last post]
xphen0m
Offline
newbie
Last seen: 12 years 42 weeks ago
Joined: 2007-10-19
Posts: 3
Points: 0

Hi,

I'm testing a new site design at http://www.gcwonline.us/v5/test.php

As you can see, the DIV to the left and the DIV to the right underneath the ad are floats, but they overlap it's container, which you can see hiding behind the two floating DIVs. I've tried everything in the past three days, and I just can't figure out why they won't stay inside the main container.

Is what I'm trying to do impossible?

sticks464
Offline
Enthusiast
Topeka, KS.
Last seen: 8 years 37 weeks ago
Topeka, KS.
Timezone: GMT-6
Joined: 2006-10-18
Posts: 116
Points: 71

Remove the height:100% from

Remove the height:100% from .container css rule.

xphen0m
Offline
newbie
Last seen: 12 years 42 weeks ago
Joined: 2007-10-19
Posts: 3
Points: 0

Ok, now one more thing. How

Ok, now one more thing. How do I get them to take up the height of the screen? I have the left div and the div under the ad set to 100% height, but that's not doing anything.

EDIT: I've gotten the container to reach the full height of the screen. Now, all I need to do is get the other two divs to do the same.

xphen0m
Offline
newbie
Last seen: 12 years 42 weeks ago
Joined: 2007-10-19
Posts: 3
Points: 0

Question: Is there any way

Question: Is there any way to have 100% height inside a nested DIV whose height is set to 100% also?