• 0

css help


Question

ok im makeing a site with tables... and i would liek the .css to set the bg of it... how woull di change the code of the table? and what would i add to teh .css??

im thinking 4 the bg of the table.........

style=" bgcolor: .table.bg "

in the .css i add a

.table.bg

(bgcolor- stuff some other stuff)

is this right??? if not or some one got somethign better post!!!!

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

td.backblack {

background-color: #000000;

color: #FFFFFF;

}

Then

Should work, but I'm running off of memory.

Now, I 1337 person doesn't use tables and does layout in CSS (www.timdorr.com to see what I mean...)

Link to comment
Share on other sites

  • 0

worked good

-------------------------

|_______________|

|

|

|

|

|-------------------------

a table like that in the tope i could just change the backthign to like topback?

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.