Page 1 of 1

table to div conversion

Posted: Mon Jan 31, 2005 3:23 am
by itsmani1
hi every one !

i want to make tables using css => means instead of using html tags like TR TD and others i want to define them in a .css file and then use them.
have any one experienced that?

Regards.


feyd | attempted to make topic title a bit more descriptive

Posted: Mon Jan 31, 2005 6:56 am
by timvw
To get started:

If you have tabular data, you should use table, th, tr an td.

If it is not tabular data, and want to display like data in tables is displayed you should use CSS.


Now down to bussines:

There are plenty of sites that will explain you how to achieve something that looks like tables with CSS. If i remember well (i'm not a designer), there is a book "tricks of the css gurus" by zeldmann...

Imho, i see people try to simulate the table layout with css, but end up adding a lot of <div> to accomplish that. So instead of having dirty table tags they now have dirty div tags.... In that case they would have achieved the best/fastest result with using table tags from the start.

Posted: Mon Jan 31, 2005 7:28 am
by feyd
please choose better topic subjects itsmani1, "need help" does not tell us much of anything, as everyone here tends to "need help" :roll: