The website which I am doing now has lot of tables. I need to give different styles for different tables.I dont want to show the table cell borders. I need to show the table outer border and bg colors for rows. no borders for rows. please help me.. Thanks a Tonn..........................:-))
will give you a 1px black border around the table only (not the cells).
table td { background: #eee; }
will give you a light gray background for the table row. If you don't want gaps between the table cells in the row, be sure to set the cellspacing attribute of the table to "0" (I believe support for border-spacing is hit-or-miss still). You can adjust the cellpadding of the table cells by setting "padding" in your CSS.