Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

change color ?

Status
Not open for further replies.

Yarka

Technical User
Jan 14, 2007
192
ES
Hi,

i have .css as:
...
.statusPENDING { font-family: arial,serif; font-size: 8pt; background-color: #ACACAC; }
.statusOK { font-family: arial,serif; font-size: 8pt; background-color: #33FF00; }
...

and I am working with html que use this .css
I need have 2 different colors of the .statusOK (for exemple red and green) depending of the first character of the line.
It use cgis, but I mustn't change it, only I can change css and html files.
Is it possible? How can I do it?

Thanks.
 
Sounds like a JavaScript (forum216) need then to parse out the information in the line and change the class based upon that parsing.

- George
 
but, how can I do this?

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top