xin
01-24-2007, 07:08 PM
When using colors on a website, is it possible to list several colors in the code so that if someone viewing my site doesn't support the main color, the browser will select the next one in the list? For example, when you want to be sure your choice of font is used, you might have: font-family: Lucida Grande,Palatino Linotype,verdana; in your code.
If the same is applied with colors, e.g: color: #CC0000, #CC33CC, #9933CC; will a browser select from my list if the first color in the list is not supported by the viewers computer? or will it default to black? As I say, I know it works with fonts, but honestly have no idea if it's the same with colors!
(I have chosen web safe colors so far but find they are not giving me the range I need)
If the same is applied with colors, e.g: color: #CC0000, #CC33CC, #9933CC; will a browser select from my list if the first color in the list is not supported by the viewers computer? or will it default to black? As I say, I know it works with fonts, but honestly have no idea if it's the same with colors!
(I have chosen web safe colors so far but find they are not giving me the range I need)