E-mail List Archives
RE: Confused W3 css valitation error
From: Patrick Lauke
Date: May 5, 2006 9:30AM
- Next message: Andrew Kirkpatrick: "RE: NOSCRIPT question"
- Previous message: John S. Britsios: "Re: Confused W3 css valitation error"
- Next message in Thread: smithj7: "RE: Confused W3 css valitation error"
- Previous message in Thread: John S. Britsios: "Re: Confused W3 css valitation error"
- View all messages in this Thread
> 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/
________________________________
- Next message: Andrew Kirkpatrick: "RE: NOSCRIPT question"
- Previous message: John S. Britsios: "Re: Confused W3 css valitation error"
- Next message in Thread: smithj7: "RE: Confused W3 css valitation error"
- Previous message in Thread: John S. Britsios: "Re: Confused W3 css valitation error"
- View all messages in this Thread