E-mail List Archives
RE: Confused W3 css valitation error
From: smithj7
Date: May 6, 2006 6:40AM
- Next message: Rob Unsworth: "Need site review"
- Previous message: Patrick H. Lauke: "Re: NOSCRIPT question"
- Next message in Thread: None
- Previous message in Thread: Patrick Lauke: "RE: Confused W3 css valitation error"
- View all messages in this Thread
THANK YOU!!! Such a small thing! I was looking at the ending tag
<option> cause that was what the validation said. Next time, I'll pay
attention to the whole line.
-----Original Message-----
From: <EMAIL REMOVED>
[mailto: <EMAIL REMOVED> ] On Behalf Of Patrick Lauke
Sent: Friday, May 05, 2006 11:20 AM
To: WebAIM Discussion List
Subject: RE: [WebAIM] Confused W3 css valitation error
> smithj7
> Link to page in question.
> http://dbs.myflorida.com/newsletter/index.shtml
>
> I check xhtml of page with w3 validator. Validated
> Then I checked the css style sheet. Valitated
>
> Then I put up site and with the w3 links (css checked by page links)
>
> Got following error:
>
> Target: http://dbs.myflorida.com/newsletter/index.shtml
> Please, validate your XML document first!
>
> Line 227
>
> Column 75
>
> Element type "option" must be followed by either attribute
> specifications, ">" or "/>".
>
> Checked and double checked option and they are are closed to
> the best of
> my knowledge. Is it possibly my doc type. This is a html page not a
> xml page.
It's caused by the fact that you don't have a space between the closing
double quote of your option's value and the selected attribute name.
i.e. at the moment you have
....accesstech/2004_12.htm"selected="selected">December....
where it should be
....accesstech/2004_12.htm" selected="selected">December....
Now I can't remember if it's ok not to have the space there, but to be
safe add that space in there...then it should work and the CSS validator
won't complain.
P
________________________________
Patrick H. Lauke
Web Editor / University of Salford
http://www.salford.ac.uk
________________________________
Web Standards Project (WaSP) Accessibility Task Force
http://webstandards.org/ ________________________________
Address list
messages to <EMAIL REMOVED>
- Next message: Rob Unsworth: "Need site review"
- Previous message: Patrick H. Lauke: "Re: NOSCRIPT question"
- Next message in Thread: None
- Previous message in Thread: Patrick Lauke: "RE: Confused W3 css valitation error"
- View all messages in this Thread