Forum Moderators: open

Message Too Old, No Replies

Tables and a background of their own

         

artistvrd

1:22 am on Aug 14, 2006 (gmt 0)

10+ Year Member



is there anyway to get a table to have it's own unique background, maybe put text over it?

not neccisarily an entire table, but a cell,column, row, etc.

I'm using netscape composer 7.1, but I don't think that makes any difference.

thanks in advance for your help!

tedster

7:03 pm on Aug 14, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yes, tables, rows and cells can have a css background rule -- but as far as I know there's no way to have a background for a whole column.

artistvrd

5:43 am on Aug 20, 2006 (gmt 0)

10+ Year Member



do you know how to do this, it seem slike a tutorial or code I can't find..?

tedster

6:21 am on Aug 20, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



<table style="background-image:url(image.jpg)">

Or you can use the same style attribute in a <tr> or a <td>. Or instead of an inine style attribute, put the rule in the <head> section as a class (or an external css file) and just say class="bg" or whatever you named it.

Lots more information here:
[w3schools.com...]