PDA

View Full Version : CSS: border attribute issue


Thee Gandalf
01-02-2006, 03:22 PM
Hi,

Can you tell me why I'm getting this error (that I believe is not an error)?

Errors
URI : file://localhost/TextArea

* Line: 11 Context : #menu

Invalid number : border-color Parse Error - -moz-use-text-color rgb(204, 204, 153) rgb(204, 204, 153)

The code:
#title {
height:77px;
width:1000px;
font:bold 28px verdana, helvetica, sans-serif;
line-height:70px;
color:#cccc99;
background-color:#006699;
border:1px solid #ffff66;
clear:both;
}

Thanks,
Gänd
:D

_Aerospace_Eng_
01-03-2006, 01:57 AM
It might be testing for web safe colors and #FFFF66 doesn't seem to be one however the above CSS does validate. The error you said it gave you was in the #menu CSS not #title CSS.

Thee Gandalf
01-03-2006, 03:09 AM
Thanks. I'll look into it.

G
:D

Juparis
01-03-2006, 02:08 PM
Just a side note I'd like to add...
#FFFF66 is indeed a web safe color (http://html-color-codes.com/)

Mixing 3, 6, 9, C, and F will always produce a web safe color...