471,881 Members | 1,527 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,881 software developers and data experts.

Heights

Hello.

So I've been having trouble with the height property of my layers in my site. I'm trying to get the layers to fill up the entire browser. I've used the 'height: 100%' property, but to no avail.

testlabrat.diaryland.com

Looks fine in Firefox 2.0.0.6 on my MacBook OSX 10.4.10, except for the problem mentioned above, that is.

Thanks in advance!
Aug 13 '07 #1
4 1115
Death Slaught
1,137 1GB
Hello.

So I've been having trouble with the height property of my layers in my site. I'm trying to get the layers to fill up the entire browser. I've used the 'height: 100%' property, but to no avail.

testlabrat.diaryland.com

Looks fine in Firefox 2.0.0.6 on my MacBook OSX 10.4.10, except for the problem mentioned above, that is.

Thanks in advance!

what is it exactly your wanting it to do? do you want the image to cover the entire page or the background color to? or both? try to be a little more specific if you can.
Aug 13 '07 #2
drhowarddrfine
7,435 Expert 4TB
Part of the confusion is there is no such thing as 'layers'. Do you mean <div> elements? Do you mean z-indexed elements?
Aug 13 '07 #3
I'm sorry.

Yes, I meant the <div> elements. What I'm trying to achieve is for the black <div> to cover the entire height of the browser. As you can see in the site, the inner elements 'spill' out of the black <div> on the right.

Everything looks fine when my text doesn't exceed the height of my browser, but when it does, everything falls out of the black <div> element.

Does this help?
Aug 14 '07 #4
Found the solution. Just had to use the 'min-height' property at 100%.

Thanks a bunch, guys.
Aug 14 '07 #5

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Tyler Carver | last post: by
1 post views Thread by Tyler Carver | last post: by
3 posts views Thread by cpt | last post: by
1 post views Thread by Beringer | last post: by
1 post views Thread by tshad | last post: by
2 posts views Thread by sfeher | last post: by
7 posts views Thread by hestres | last post: by
5 posts views Thread by =?Utf-8?B?bWljaGFlbCBzb3JlbnM=?= | last post: by
reply views Thread by zermasroor | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.