tags:

views:

39

answers:

3

What are helpful CSS properties which can be helpful for table? I have to make so many complex tables which have different type of colors in columns, thead, borders, padding, alternate row and column colors etc. I want to use as less as possible of css classes.

How to make complex tables design with combination of as much as possible of HTML tags and CSS properties? and should look identical in all browsers.

Update:

And on same page I have to add multiple table with totally different styles

+1  A: 

http://developer.yahoo.com/yui/reset/

The foundational YUI Reset CSS file removes and neutralizes the inconsistent default styling of HTML elements, creating a level playing field across A-grade browsers and providing a sound foundation upon which you can explicitly declare your intentions.

I must admit though, I am not sure I understand your question

Moak
css reset i'm already using.
metal-gear-solid
if you are using reset css this will run same in all browser.
kc rajput
@kc you wish! :)
Pekka
@kc - CSS Reset is not a single solution to solve all cross browser problems. It's a myth.
metal-gear-solid
+2  A: 

Tables are really, really old technology and tend to be very reliable in my experience. I would just get going, plan the CSS well and deal with any cross-browser issues if and when they come up.

Pekka
I'm using table for Tabular data, not for layouts
metal-gear-solid
@metal-gear-solid I said tables are old in the sense that they are very *reliable*, not that one shouldn't use them. Tables are time-tested and work pretty well, is what I'm saying. I happily use them every day (in some very rare instances even for layout but ssshhhh! That needs to stay a secret :)
Pekka
-1 was not mine. I agree with you
metal-gear-solid
A: 

you should use for this reset style sheet.you can visit this and read about reset stylesheet

reset staylesheet

kc rajput