|
From: James B. <bu...@us...> - 2003-04-13 15:50:58
|
In message <4be...@sm...>
Michael Drake <mi...@sm...> wrote:
> In article <ec6...@a7...>,
> James Bursa <bu...@us...> wrote:
>
> > The colours are missing # from the start, eg. bgcolor="7F68B9" should
> > be bgcolor="#7F68B9".
>
> I hadn't realised that the "#" was required. The page certainly validates
> as HTML 4.01 Transitional, without the "#". See:
> http://validator.w3.org/check?uri=www.smoothartist.com%2Freddwarf%2F
I guess the validator doesn't check. The HTML 4 spec
http://www.w3.org/TR/html4/types.html#type-color says
"A color value may either be a hexadecimal number (prefixed by a hash mark)
or one of the following sixteen color names."
So without the #, NetSurf tries to look the colour up as a named colour. I
guess we could 'fix' it if it's a common problem.
James
|