Halli Hallo, also hab folgendes:
Ich möchte das min-height in pixeln angeben, wenn ich das allerdings tue, dann macht er die Höhe nicht auf 100% sofern der Inhalt nur kurz ist, sondern macht es einfach nur auf die min-height...
Hoffe ihr könnt mir helfen,
Danke im vorraus...
Gruß rko_49
Code:
Ich möchte das min-height in pixeln angeben, wenn ich das allerdings tue, dann macht er die Höhe nicht auf 100% sofern der Inhalt nur kurz ist, sondern macht es einfach nur auf die min-height...
Hoffe ihr könnt mir helfen,
Danke im vorraus...
Gruß rko_49
Code:
Code:
* {
margin: 0;
padding: 0;
height:100%;
}
#bg
{
position:relative;
z-index:1;
top:0px;
bottom:0px;
left:0px;
right:0px;
width:1045px;
margin:auto;
min-width:1000px;
[COLOR="Red"] min-height:750px;[/COLOR]
height:auto !important; /* Important Regel für moderne Browser */
height:100%; /* Mindesthöhe für den IE */
border-left: 1px solid #CCC;
border-right: 1px solid #CCC;
}
#footer
{
background-image:url(images/footer.png);
position:absolute;
z-index:2;
visibility: visible;
width:190px;
height:300px;
right:0px;
bottom:0px;
}
#logo
{
background-image:url(images/logo.png);
position:absolute;
z-index:4;
visibility: visible;
width:290px;
height:100px;
top:50px;
left:50px;
}
#textbox_volle_breite
{
position:relative;
z-index:3;
left:60px;
padding-top:220px;
width:720px;
font-family:Arial, Helvetica, sans-serif;
font-size: 15px;
line-height:22px;
color:#000;
}
Code:
<div id="bg">
<div id="textbox_volle_breite">
....wenig Text....
</div>
<div id="logo"></div>
<div id="footer"></div>
</div>