michelm: float:left-Problem

Beitrag lesen

Hallo,
versuchs mal mit Span-Tags anstatt DIVs oder mit position:relative in den DIV-Tags, obwohl die Inlinelayer wohl eher funktionieren dürften.
#vll,#vlr,#ftx{ vertical-align:top;padding:10px;margin:0px; } erstmal zum Testen weglassen.

Wenn ich Dich richtig verstanden habe, versuch mal das:
<style type="text/css">
.vll{ float:left;width:100px;text-align:right; }
.vlr{ float:left;border-left:1px solid #666; }
.ftx{ float:none; }
.main { vertical-align:top;padding:10px;margin:0px; }
SPAN {position:relative;font-size:normal;}
DIV  {position:absolute;top:10px;left:10px;border:ridge 1px blue;}
/* Border nur zum Testen sichtbar gemacht.
/* für einen test :
 .main2{ vertical-align:top;padding:10px;margin:0px;font-size:2px; }
*/
</style>

<DIV id="Layout" class="main" ><P class"main2" >

<SPAN class="vll">linke Seite</SPAN> 
<SPAN class="vlr">rechte Seite<br>zweite Zeile<br>dritte Zeile</SPAN> 
<SPAN class="ftx">Folgetext</SPAN> 
</P>
</DIV>

Gruss

Michael