Kalle_B: Probleme mit Darstellung in CSS

Beitrag lesen

<style type="text/css">
.sp01 {width:50%; float:left; background:#fcc}
.sp02 {width:50%; float:left; background:#ccf}
.clear{clear:both; font-size:1px; height:1px}
</style>
</head>

<body>

<p>NEU:</p>
<div class=row>
  <div class=sp01>Zeile 1, Spalte 1</div>
  <div class=sp02>Zeile 1, Spalte 2</div>
  <div class=clear>.</div>
</div>
<div class=row>
  <div class=sp01>Zeile 2, Spalte 1</div>
  <div class=sp02>Zeile 2, Spalte 2</div>
  <div class=clear>.</div>
</div>

<p>ALT:</p>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="50%" rowspan="2">&nbsp;<td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td width="50%">&nbsp;</td>
  </tr>
</table>

Kalle