Make site height 100%..?

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Pudekamp.dk
Posts: 85
Joined: Tue 10. May 2005, 17:37
Location: Denmark
Contact:

Make site height 100%..?

Post 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.
--
Best regards,
Thomas from Denmark
http://www.pudekamp.dk (personal site)
http://www.lalala.dk (the Blue Hippo site)
cyrano
Posts: 1598
Joined: Sat 31. Jan 2004, 18:33
Location: Stuttgart
Contact:

Post by cyrano »

Hi Thomas,

may be...

try set body height:100%;

regards Thomas

EDIT:seems that's not the trick :-(
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
User avatar
Oliver Georgi
Site Admin
Posts: 9919
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post 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
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Post Reply