...

View Full Version : Help with Validation



libary
08-08-2007, 07:46 PM
I have 11 errors and can't figure out what is wrong.
It tells me the tags aren't complete but when I check them they are all there. There is some error with the for the "Search the Catalog" form. I don't think I can change that and still have the form work??
The form code is something that I was given by someone else to add to the page and I have no idea how to change it.
Link to my project page is Here:
http://www.countylibrary.org/new/bigbannernavinheader06.htm

Link to the validator is here:
http://validator.w3.org/
Thank you

mcjwb
08-08-2007, 09:02 PM
When validating one error can lead to the validator thinking there are many more. As you have seen all the tags are there, it is this line that is throwing the error:

<a href="http://www.questionpoint.org/crs/servlet/org.oclc.home.TFSRedirect?virtcategory=12666"title="live (http://www.questionpoint.org/crs/servlet/org.oclc.home.TFSRedirect?virtcategory=12666) Reference Chat 24_7">Ask a librarian
</a>
You need a space between attributes, i.e. before the "title".

Also the first error the validator comes up with is in response to the "maxsize" attribute of this line:

<input size="20" name="term" maxsize="100" style="font-size: 10pt;" value="" alt="enter search terms" type="text" />
I'm 99.9% sure the original author meant to use the attribute "maxlength" instead, which prevents users entering more than the specified value of characters. So I would go ahead and change it if I were you.

libary
08-08-2007, 10:07 PM
:) It Validates!:)
And everything still works!
Thank you so much for your help!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum