On Fri, 17 Mar 2006 01:19:44 +0000, Mike Barnard
<m.****************@thunderin.co.uk> wrote:
It's a simple test... VERY SIMPLE. But...
In an external stlyesheet some attributes don't show. With the same
styles cut and pasted to the test internally it works as expected.
Anyone tell me why? Its probably sooooooo obvious, but it is 1.19 am!
Thanks.
www.thunderin.co.uk/
Hmmm. Still don't see whats wrong! The line that doesn't validate
is...
#header{ background-color: Fuchsia; color: White; }
Breaking it down using the following links to confirm my thoughts
http://www.w3schools.com/css/pr_background-color.asp
#header{ - defines an id for an element.
background-color: - correctly spelled and with the seperating colon in
place
Fuchsia - a colour name. This is a legal css element according to
this link
http://www.w3schools.com/css/css_colornames.asp
; - correctly seperated from the next part of the line by a semicolon
color: - correctly spelled and with the seperating colon
http://www.w3schools.com/css/pr_text_color.asp
White; - again, a legal css colour name.
} - closing bracket.
OK, open my blind eyes please? Why doesn't this VERY BASIC line
validate and why does it work when it's put in the body of the
document?
I really want to find out for myself but can't see whats wrong!
Grrrrrr. Unless, this line really is OK but it's broken by something
above or below it? Off to look.
--
The Source For Premium Newsgroup Access
Great Speed, Great Retention
1 GB/Day for only $8.95