David Bruchmann: Zwei DIVs nebeneinander

Beitrag lesen

Sorry, drei Fehler, hier korrigiert:

Ich will zwei DIVs nebeneinander postieren. Folgenden Code habe ich:

<div style="position:absolut; left:0px; top:20px; width:300px;">
<a href="link1.htm" style="display:block; margin:0px; padding:3px; background-color:#EEEEEE; width:300px;">Link1</a>
<p>Beschreibung des Links...</p>
<br />
<a href="link2.htm" style="display:block; margin:0px; padding:3px; background-color:#EEEEEE; width:300px;">Link2</a>
<p>Beschreibung des zweiten Links...</p>

<!-- usw //-->

</div>

<div style="position:absolut; left:300px; top:20px; width:150px;">
<p>Das ist meine Navigationsleiste. Daneben will ich einen Kurzen Text plazieren. </p>

<p>Da erzähle ich was von der Kuh ...</p>

<p style="clear:left">Und hier geht es ganz normal weiter</p></div>

Gruß
David