Дана Sunday 04 October 2009 20:22:08 Neil Harris написа:
I don't see what should be the actual HTML that this would produce though.
This is surely an ideal case for using HTML tables, since this kind of layout is explicitly tabular.
Not really, since they don't semantically correspond. The assumption with HTML tables is that each cell is a distinct whole and not a part of the greater whole. I was thinking of simulating a table using spans:
<span style="display: table;"> <span style="display: table-row;"> <span style="display: table-cell;">A</span> <span style="display: table-cell;">B</span> </span> <span style="display: table-row;"> <span style="display: table-cell;">C</span> <span style="display: table-cell;">D</span> </span> </span>