I am doing php and would like to colour options in a select box depending on if they have a pic in the directory or not. Is it possible to do this in my css file?
option.PicPresent{
background-color : red;
}
option.NoPic{
background-color : white;
}
and then assign the relvant class attribute?
Regards
EdwardpYes, although the active/selected option is always blue
option.PicPresent{
background-color : red;
}
option.NoPic{
background-color : white;
}
and then assign the relvant class attribute?
Regards
EdwardpYes, although the active/selected option is always blue