|
I want to make a 'table' using CSS and DIVS (although I'm strugling to think of reasons not to use a table).
It will be used to display results returned from a query of a database.
Cell1 | Cell2 | Cell3 | Cell4
Cell1 | Cell2 | Cell3 | Cell4
Cell1 | Cell2 | Cell3 | Cell4
Cell1 | Cell2 | Cell3 | Cell4
How would you create that using DIVS?
<div row>
<div col>
Cell1
</div>
<div col>
Cell2
</div>
<div col>
Cell3
</div>
<div col>
Cell4
</div>
</div>
Or something else?
|