Hallo zusammen!
Ich bin gerade dabei, Tabellen in einem Projekt zwecks Barrierefreiheit komplett auf divs umzustellen. Folgenden Code habe ich bisher:
<div style="overflow: hidden; float: right; position: relative; left: 0px; top: 0px; width: 20%; height: 100px;">
<img width="100%" height="100%" alt="" />
</div>
<div style="float: right; position: relative; top: 0px; left: 5px; right: 5px; width: 60%;">
text
</div>
<div style="overflow: hidden; position: relative; right: 0px; top: 0px; width: 20%; height: 100%;">
<img width="100%" height="100" alt="" />
</div>
Es klappt auch, vom Prinzip her, ABER: im zweiten div, was der mittleren Spalte entspricht, wird die Angabe "right:5px" ignoriert. Wir kann ich also ein "cellspacing" der Tabelle mit divs simulieren?
Danke für Eure Hilfen,
Markus