Forum Moderators: open

Message Too Old, No Replies

coloring the cellspaces in a table

         

tores

9:44 am on Dec 30, 2004 (gmt 0)

10+ Year Member



Hi

Anyone know how I can color cellspaces (space between cells) in a table? I would guess it's possible with style...

Regards tores

tores

9:49 am on Dec 30, 2004 (gmt 0)

10+ Year Member



Solution: Set table background color.

tedster

6:07 pm on Dec 31, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



That's one of the joys of using CSS to set a table's appearance. Wonderful control over background, borders, etc, by cell, row or overall. And that allows all kinds of special effects - such as a border just around the table instead of intruding between the individual cells.

mcibor

10:10 pm on Jan 3, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You can also set <tr style="background-color: rgb(123, 123, 123);" > if you want to have separate colors for each row. However color in td is more important for the browser, so it will cover the color specified in td.