View Full Version : to make a 100% height page ?
OKtrust
May 22nd, 2005, 02:10 PM
hi guys ,
long time no see you
I have a problem when I want to make a 100% height page
although I try to set that table height 100% ( http://vntrust.com/lion )
do you have some ideas to help me ?
thanks
SlowRoasted
May 22nd, 2005, 04:20 PM
margin-bottom: 0px; ???
bwh2
May 22nd, 2005, 07:18 PM
well, if you have some cells with fixed heights, you will also need a cell with height="*%" to act as the filler.
edit// i take it back, that's not what it is. what's interesting is that if you just use the table code, you don't have the problem.
pou-pou
May 22nd, 2005, 10:00 PM
change your
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
to
html, body {
height: 100%;
margin: 0;
}
WAcky
May 23rd, 2005, 02:30 AM
ill be interested to see if you find a solution because i had hell trying to get this to work.
firefox loved the code as listed above ^^ but ie for some reason doubles the page height...theres two ways to do it. one will work for ie, one will work for firefox.
firefox rulez until you start having to make tricky web pages.
OKtrust
May 23rd, 2005, 12:55 PM
change your
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
to
html, body {
height: 100%;
margin: 0;
}
this work very well on IE or firefox, thanks all for helping me !
I love firefox but firefox doesnt understand "wmode" to transparent flash, so sorry :|
pou-pou
May 23rd, 2005, 04:30 PM
I love firefox but firefox doesnt understand "wmode" to transparent flash, so sorry Yes it does.
ekraft84
May 31st, 2005, 03:58 PM
I'm having the same problems with the transparency not working in Firefox ..
lostinbeta
May 31st, 2005, 04:00 PM
The latest Flash plugin for firefox supports transparency. Perhaps you need to go to macromedia.com and update your flash plugin.
morse
May 31st, 2005, 06:26 PM
;)
Another way to make your div the full page length MAY be to use margin-bottom: auto; but don't quote me on that.
lostinbeta
May 31st, 2005, 07:11 PM
Yeah, I don't think that works. I have never been able to successfully get a div to stretch 100% vertically. Only make it appear to. Like by using min-height in CSS.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.