Spartanicus <me@privacy.net> schrieb:
tomasio <da****@jan.et> wrote:
how can i stretch
divs to the full height of the viewport (in my case the browser
window)?
body{margin:0;padding:0}
html,body,div{height:100%}
thank you spartanicus,
finally an answer ; )
I applied the CSS above to a test-html document, and it stretches to
full height of the viewport. Unluckily I am now confronted with two
issues:
1) There is an unwanted large amount of space between the signature
after the first article and the header of the second.
2) the margins to the left and right of the textbox (made them with a
background picture) - and at least in mozilla - its background color
don't stretch to the bottom of the viewport.
Is absolute positioning causing this behaviour?
I provided example html
(
http://tomasio.laudatio.com/jobs/Cla...st_height.html) and css
(
http://tomasio.laudatio.com/jobs/Cla...est_height.css) and a link
to the inital site (with the correct spacing between articles,
signatures and headers), which can be found here:
http://tomasio.laudatio.com/jobs/Cla..._template.html.
this is my final request for now, because i can finally go on with
building the site i am commissioned after solving the problems above
mentioned.
--
kind regards,
tomasio
"describing an issue reveals the way to solve it"