I think we need to find a solid solution for this problem – on the internet, there does not seem to be one.
The DIV will always stay the height of its content – and not more.
The structure is like this:
<html>
<head>
<title>myPage</title>
</head>
<body>
<div id='container'>
Some Content...
</div>
</body>
</html>
CSS usually looks like this:
body {
height: 100%;
}
div#container {
height: 100%;
width: 100%;
}
There are already tricks with setting margin or/and padding on body or/and div, but nothing seems to work really fine.
Is there a one and only solution for this problem?
May be this will help?