Hi,
I have a question relating to XML and CSS. I have an XML document like the one below and would like to know if there is a way of any kind to make the color of the words the way they are in CSS. That is, "red" would be in color red, "blue" would be in blue etc. I only want four lines of code in the CSS file. I have tried hours on end trying to find a way but to no avail. Any help would be greatly appreciated.
Thanks a million.
Here is the XML file:
Red
Olive
Blue
Black
Olive
Blue
Red
Black
Red
Black
Here is what I have so far with my CSS file:
a * b{color:blue;}
a,b,a{color:red;}
2006-06-20
15:23:30
·
2 answers
·
asked by
eldiablo
1
in
Computers & Internet
➔ Internet