When trying to validate my css I am getting the following error:
Please, validate your XML document first!
Element type "a" must be followed by either attribute specifications, ">" or "/>".
The page validates as:
This Page Is Valid XHTML 1.0 Strict!
The code in question from the validator is:
<div id="header"><a href="default.asp"><img src="includes/sprite6.gif" width="700" height="70" alt="Trinity Christian School" title="TCS" /></a>
What am I missing?
Element type "a"
Hi rmfred,
can you post a link to the page so we can have a closer look.
Element type "a"
link is
http://www.tcsnd.org/tcs1/
Element type "a"
Hi rmfred,
Check the last </div> <!--end of container--> there is a extra </a> after it, most likely causing the problem.
Btw sites looking about finished, I see you pulled the first letters in a bit , looks better!
Hugo.
Element type "a"
Hugo...
Didn't even see that... BUT I still get the same error
You would think that the xhtml wouldn't validate with that extra tag in there? But it did...
Strange
Element type "a"
Sorry jumped to an assumption as there appeared nothing wrong with line 69 and that orphaned </a> must have been the problem. as you say how comes it validates ?? still validates and yet the jigsaw baulks on a supposed problem with the xhtml not the css , it seems to happen a lot and I would love to know how the jigsaw is configured as such. They put some work into improving the x/html validator they need to do the same with the css I've never liked the way it operates!
I was going to suggest a whitespace problem( just had problems with a php script that looked fine but that had aquired invisible white space) and to try deleating and rewritting the line but it validates so I doubt that's the problem.
Afraid it defeats my tiny mind, but would be interested to find out why it was happening.
Hugo.