Page 1 of 1

Make site height 100%..?

Posted: Sat 9. Sep 2006, 22:05
by Pudekamp.dk
I have just installed the lastest version today, and I'm having trouble with making the height of the site 100%.

In the older version, I just made a CSS class like this:

.100hoej {
height: 100%;
}

And then in layout in "all blocks" the class is stated sa 100hoej.

This used to work fine, but now it doesn't - I have checked and double checked the codes, and it's the same.

Is there any changes in the new version, that would affect this issue? And how do I correct it?

URL: http://cxmafia.dk/kontakt.phtml

The bottom line, should be at the bottom - not floating in mid air...

Thanks in advance for any help.

Posted: Sat 9. Sep 2006, 22:12
by cyrano
Hi Thomas,

may be...

try set body height:100%;

regards Thomas

EDIT:seems that's not the trick :-(

Posted: Sun 10. Sep 2006, 09:58
by Oliver Georgi
For XHTML and table 100% is always a problem - why ever. IE often has no problems with it - but FF has.

First Try:

Code: Select all

html, body {
  height: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
}
Set height: 100% also for your class "thomas" (table).

Code: Select all

.thomas {
  height: 100%;
  min-height: 100%;
  padding: 0;
  margin: 0;
}
Another help would be to switch back to HTML rendering mode:

Code: Select all

$phpwcms['mode_XHTML']        = 0;
Oliver