M
Martin Eyles
Hi!
I am trying to make several 1x3 tables on a webpage, where all three cells
have black backgrounds and white text. However, I want the space around each
of the cells, and the whole box to be coloured (see
http://www.bytronic.com/martinTest/table.gif). I will be programatically
changing the colour of this border on the client side, based on data from an
embeded asp.net page.
Is there a way I can set the html/css up so that I can do this by modifying
just one style property (table border style does not change the colour of
the space between the cells). Also, how do I control the size of the area
between cells. I have tried the margin, padding and border properties of
both the cells and the rows in my css code, and it doesn't seem to work.
Thanks,
Regards,
Martin
I am trying to make several 1x3 tables on a webpage, where all three cells
have black backgrounds and white text. However, I want the space around each
of the cells, and the whole box to be coloured (see
http://www.bytronic.com/martinTest/table.gif). I will be programatically
changing the colour of this border on the client side, based on data from an
embeded asp.net page.
Is there a way I can set the html/css up so that I can do this by modifying
just one style property (table border style does not change the colour of
the space between the cells). Also, how do I control the size of the area
between cells. I have tried the margin, padding and border properties of
both the cells and the rows in my css code, and it doesn't seem to work.
Thanks,
Regards,
Martin