Zitat Zitat von Eli Beitrag anzeigen
Also, soweit ich weiß, gibt es keine Definition.
Ich kenn nur den Trick:

HTML
Code:
<div id="layout"></div>
<div id="footer"></div>
CSS
Code:
#layout, body, html {
    height:100%;
    margin:0;
}
#footer  {
    background-color:#666666;
    height:30px;
    margin-top:-30px;
}
Das sorgt aber dafür, dass Teil Immer GANZ unten rumhängt.
Aber das bedeutet doch, dass ich immer einen Scrollbalken hab, oder?

Zitat Zitat
Ich weiß jetzt aber nicht, ob du wolltest, dass es immer AM BILDSCHIRMRAND klebt.
Das sähe nämlich so aus:

Code:
#footer {
  height:40px;
  width: 100%;
  position: fixed;
  bottom: 0px;
  right: 0px;
  text-align: center;
  background-color: #000066;
  margin-top: 20px;
}
Das ist, was ich nicht brauche.