Position fixed content überlagernde problem

Dies ist meine html5-markup

<div id="header">
</div>
<div id="content">
</div>
<div id="footer">
</div>

Nun css

header{ height: 95px;position: fixed;width: 100%;min-width: 980px;}
footer{background:#000000;bottom:0;height:30px;position:fixed;width:100%;min-width: 980px}

Nun mein problem ist, wenn ich alle Inhalte in

<div id="content">
</div>

Den Inhalt kommt von oben:0 ist nicht erforderlich. Ich möchte nicht use padding oder margin-top über den Inhalt. Gibt es eine Möglichkeit, von dem Inhalt unten kommt-header.

  • Was ist ein <content> tag? Wo hast du diese Idee aus?
  • write tag "<Artikel>" statt "<content>"
InformationsquelleAutor Soarabh | 2011-03-15
Schreibe einen Kommentar