| CSS and tabular data
|
bitstearm

msg:1200679 | 10:43 pm on Jan 30, 2003 (gmt 0) | Hi all, I've been experimenting with ridding my pages of the *evil* ;) tables. CSS works beautifully for general layout purposes, but I have yet to find a good way to reproduce table cells and rows using CSS. I know that lots of people think tables are okay for tabular data, but I'd like to see how it can be done with CSS. Thanks!
|
Nick_W

msg:1200680 | 10:47 pm on Jan 30, 2003 (gmt 0) | It can't easily be done. Right tools for the job is the way to go. For fonts, colors, layout and other presentational formatting CSS is the way to go. For tabular data, why use anything but a table? - Tables are not cheating, they were built specifically for this purpose and IMO should be used for it. This doesn't mean that you can't format your table with CSS though! ;) Nick
|
DrDoc

msg:1200681 | 10:52 pm on Jan 30, 2003 (gmt 0) | There are several things you can do, depending on your site layout. you'll just have to experiment and figure out what works best for you. Here are a few pointers though: Try different float (left/right) and display (inline/block/list-item) settings .. Or, if your layout allows it, try absolute/relative positioning.
|
DrDoc

msg:1200682 | 10:53 pm on Jan 30, 2003 (gmt 0) | Well said Nick ;)
|
|
|