Hallo Christian,
Wer das Gegenteil behauptet, der macht diese Darstellung ohne Tabellen nach.
<html>
<head>
<title>Tabellenzellen</title>
<style type="text/css">
.tfw {
display: table;
/*unfair! ;-))*/
width: 100%;
margin-bottom: 4px;
margin-top: 4px;
}
.tfwtd {
width:100%;
border:1px solid red;
padding:10px;
display: table-cell;
/*unfair! ;-))*/
vertical-align: middle;
/*funktioniert nicht im IE5.x, 6 nicht getestet/
}
</style>
Eventuell müssen noch weitere <div>s her...
Eben.
.oO(gilt das auch als Tabelle?)
Eben nicht. Tabellen sind einfacheres Markup ;-)). Welchen Vorteil hätte diese Konstruktion noch gegenüber einer Tabelle?
viele Grüße
Axel