PDA

View Full Version : Change table colours using external CSS


thedon
11-02-2009, 10:34 AM
Hi,
My website http://www.thai-discovery.com/ is basically been made using tables, I would like to knkow how and what to put for changing the colours from 1 page. I have tried a few different ways without success.

Thanks

Corrosive
11-02-2009, 11:30 AM
I'm not sure I understand the question. Could you rephrase please?

thedon
11-02-2009, 01:04 PM
I'm not sure I understand the question. Could you rephrase please?
As in my left and right column is purple and my middle column is light purple. Is there a way I can insert a code, which will let me change the colours on an external style sheet for all 3 columns

Corrosive
11-02-2009, 01:57 PM
You can style all tables with...

table {background-color: #??????}

If you want them varied in colour then give them classes or IDs in the HTML and style those.

thedon
11-02-2009, 02:34 PM
Thanks, I will try those.