homepage Welcome to WebmasterWorld Guest from 54.161.236.92
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

    
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 ;)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved