Welcome to WebmasterWorld Guest from 54.146.59.202

Forum Moderators: not2easy

Message Too Old, No Replies

CSS and tabular data

     
10:43 pm on Jan 30, 2003 (gmt 0)

10+ Year Member



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!

10:47 pm on Jan 30, 2003 (gmt 0)

WebmasterWorld Senior Member nick_w is a WebmasterWorld Top Contributor of All Time 10+ Year Member



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

10:52 pm on Jan 30, 2003 (gmt 0)

WebmasterWorld Senior Member drdoc is a WebmasterWorld Top Contributor of All Time 10+ Year Member



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.

10:53 pm on Jan 30, 2003 (gmt 0)

WebmasterWorld Senior Member drdoc is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Well said Nick ;)
 

Featured Threads

Hot Threads This Week

Hot Threads This Month