yetanotheruser: Footer / clear:both und margin-top machen Probleme

Beitrag lesen

Hoi

<div class="wrapper">

<div id="spalte1" style="float:left;margin-right:10px">spalte1</div>
<div id="spalte2" style="float:left;margin-right:10px">spalte2</div>
<div id="spalte3" style="float:left;margin-right:10px">spalte3</div>

<div style="clear:both;line-height:1px;height:1px;"></div>
</div>

<div id="footer" style="clear:both;margin-top:20px">footer</div>

Sollte das ganze so darstellen, wie du es wünscht.

Gruß Ben