Welcome to WebmasterWorld Guest from 54.167.62.170

Forum Moderators: incrediBILL

Message Too Old, No Replies

coloring the cellspaces in a table

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

New User

10+ Year Member

joined:Dec 29, 2004
posts:28
votes: 0


Hi

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

Regards tores

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

New User

10+ Year Member

joined:Dec 29, 2004
posts:28
votes: 0


Solution: Set table background color.
6:07 pm on Dec 31, 2004 (gmt 0)

Senior Member

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:May 26, 2000
posts:37301
votes: 0


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.
10:10 pm on Jan 3, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Nov 26, 2003
posts:1133
votes: 0


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.