css problem: div container full heigth also when empty
css problem: div container full heigth also when empty
Hi all
I want the right column go straight down to the bottom of the page even when it's empty.
http://s279758607.online.de/cms/
I tried height:100%; and min-height:100% in body tag as well as the right container - no success - any ideas?
Thanks a lot!
macangelo
I want the right column go straight down to the bottom of the page even when it's empty.
http://s279758607.online.de/cms/
I tried height:100%; and min-height:100% in body tag as well as the right container - no success - any ideas?
Thanks a lot!
macangelo
Webdesign from Düsseldorf - made with phpwcms (most of it):
http://eyelikeit.com/index.php?de_beispiele-webdesign
http://eyelikeit.com/index.php?de_beispiele-webdesign
Re: css problem: div container full heigth also when empty
Set html height: 100%
chr.css wrote:...
html, body {
background-color: #666666;
margin: 0;
padding: 0;
height: 100%;
}
...
Re: css problem: div container full heigth also when empty
I have one too
http://matthewjamestaylor.com/
Coolest templates on earth, I'd say.
(..and the site itself is worth reading too, of course)
http://matthewjamestaylor.com/
Coolest templates on earth, I'd say.
(..and the site itself is worth reading too, of course)
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
Re: css problem: div container full heigth also when empty
Thank you both! the html thing did it!!! Thanks a lot also for the extras …
Webdesign from Düsseldorf - made with phpwcms (most of it):
http://eyelikeit.com/index.php?de_beispiele-webdesign
http://eyelikeit.com/index.php?de_beispiele-webdesign
Re: css problem: div container full heigth also when empty
Another solution for your 2-column-layout would be to work with "position: absolute;"
You find this in the HowTo Wiki or on "Kukkis Spielswiese".
For layout problems with old IE 5 and 6 you can use with header script
Do change the "200" with other values and see how these dinosaur browser responds it. Also you can simple modified these CSS without header and footer
PS.: Warum eigentlich in Englsih? in Deutsch gehts doch auch
Dein #rightBlock sollte stillstehen , entweder mit fixed oder für Benutzer der alten Krücken - soweit Du diese nicht auschließen willst - doch halt mit position absolute arbeiten und ein wenig mit dem height expression hantieren.
Und diese Farbe color: #84B500; auf grauen Grund -ist schlecht zu lesen, besser in z 432 ff. color: #777777; und das hover mit color: #000000;
You find this in the HowTo Wiki or on "Kukkis Spielswiese".
For layout problems with old IE 5 and 6 you can use with header script
Code: Select all
<!--[if lt IE 7]>
<style type="text/css">
#mainBlock, #leftBlock
{
height:expression((document.body.clientHeight-200)+"px");
}
</style>
<![endif]-->
PS.: Warum eigentlich in Englsih? in Deutsch gehts doch auch
Dein #rightBlock sollte stillstehen , entweder mit fixed oder für Benutzer der alten Krücken - soweit Du diese nicht auschließen willst - doch halt mit position absolute arbeiten und ein wenig mit dem height expression hantieren.
Und diese Farbe color: #84B500; auf grauen Grund -ist schlecht zu lesen, besser in z 432 ff. color: #777777; und das hover mit color: #000000;
Lieber arm dran als Arm ab!
meine historische Website: Jagdgeschwader 300 1.9.34-R554
kukki's SpIeLwIeSe V.1.9.33 R553 responsive
meine historische Website: Jagdgeschwader 300 1.9.34-R554
kukki's SpIeLwIeSe V.1.9.33 R553 responsive
Re: css problem: div container full heigth also when empty
Weil's die englische Sektion istkukki wrote:PS.: Warum eigentlich in Englsih?
Because it's the english section
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
Re: css problem: div container full heigth also when empty
Gleiches taucht auch gerne mal im "CP deutsch" auf. Mir war einfach so, weil er kommt ja aus "Germania"
Lieber arm dran als Arm ab!
meine historische Website: Jagdgeschwader 300 1.9.34-R554
kukki's SpIeLwIeSe V.1.9.33 R553 responsive
meine historische Website: Jagdgeschwader 300 1.9.34-R554
kukki's SpIeLwIeSe V.1.9.33 R553 responsive
Re: css problem: div container full heigth also when empty
Es geht hier um die Problemstellung bzw. Antwort. Um möglichst viele Leute zu erreichen schreibt macangelo eben in englischer Sprache.kukki wrote:Gleiches taucht auch gerne mal im "CP deutsch" auf. Mir war einfach so, weil er kommt ja aus "Germania"
Das gilt ebenso für Antworten.
Also im englischen Forenteil bitte auch in dieser Sprache antworten wenn möglich.
Die Herkunft des Fragenden spielt keine Rolle oder dass irgendjemand im deutschen Forenteil auf englisch antwortet. Deine Interpretation der allg. Forenregeln ist schon sehr sehr speziell.
Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )