dana
dana

Reputation: 5208

most suitable css solution for replacing a table?

From your experience, what would be the most suitable CSS solution for replacing the old unfashionable tables, with divs and styles? i am especially interested if there is a solution for replacing the table's tags. (headers of the tables)

thank you!

Upvotes: 0

Views: 69

Answers (2)

DanielB
DanielB

Reputation: 20210

If you have tabular data, then you should always use a table. There is no reason to replace it with a floating box layout.

Don't use tables for layouting your whole page.

Upvotes: 1

TedTrippin
TedTrippin

Reputation: 3669

Generally, you'll need to replace each cell() with a div.

I would then google for examples of CSS column layouts to find out which behaviour suits you best. You can place divs in exact positions or make them relative. Either way, if you don't know CSS you're going to have to learn it and play with it to get an idea how

Upvotes: 1

Related Questions