|
|
|
|
![]() ![]() |
Jun 20 2006, 06:47 AM
Post
#1
|
|
|
Trap Grand Marshal Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED] Posts: 1,134 Joined: 19-May 05 From: Mexico Member No.: 7,234 |
Does anyone know how to make the height of a div in firefox equal to the percentage you input? For example if I put <div style="height:100%; min-height:100%;">blablabla</div> the div container will only be as high as the text makes it, when in internet explorer it does make it take up 100% of the page or whatever height in percentage I input in it.
by the way, html, body {} have 100% height in them, so does the container that has the div element. Example: html,body {height:100%;} #container {height:100%;} #div {min-height:100%;} the one called #div is the one I want with 100% height. Thanks for any help. |
|
|
|
Jun 20 2006, 06:49 AM
Post
#2
|
|
|
Hidden Secrets can't be told threw just words. One must feel what the other feels to truely understand... ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 1,523 Joined: 8-January 06 From: Sacramento California Member No.: 16,756 |
just a tip, you might want to edit your post and but the CSS/Codes in code tags....
|
|
|
|
Jun 20 2006, 07:01 PM
Post
#3
|
|
|
Ephesians 6:10-17 ![]() Group: [MODERATOR] Posts: 1,868 Joined: 22-June 05 From: The World of Gentoo Member No.: 8,528 ![]() |
While keeping with web standards, the height property does not support percentages.
|
|
|
|
Jun 24 2006, 06:53 PM
Post
#4
|
|
|
Define:EVIL PROGRAMMER (ē'vəl prō'grăm'ər)- n. An organism that converts caffeine into evil software. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED] Posts: 975 Joined: 25-September 05 From: The dungeon deep below the foundation of trap17 Member No.: 12,251 |
I had the same problem, for the longest time i couldn't figure it out, then it turned out, there was an open table tag in the CSS area. Check for open tags
|
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 27th July 2008 - 01:07 AM |