View Full Version : Validator says I'm closing tags that I haven't opened, but...

07-18-2007, 09:36 PM

When I validate this page, I'm told that I haven't opened the <a> tags in my left nav bar, but this isn't the case, and the links work.

Is it because of the class bit I've got in the opening of each of those tags? Is there something somewhere else on the page I've screwed up?

I'm new to this stuff, and I'm not saying the validator's giving me invalid info, I just haven't been able to figure out what to do about this issue.

Thanks for any help.


07-18-2007, 09:44 PM
Donít remember exactly if it was but it seems like according to strict rules you need to enclose the attribute values in quotes which you didnít with the URLs in the href attributes.
An editor with syntax highlighting makes it obvious immediately.

By the way: The tag thatís closing the div called ďleftnavĒ isnít closed. Source code viewed in Firefox shows it in bold red.

07-18-2007, 09:52 PM

THANK YOU. Yeah, I'm not sure how I forgot the quotes, but that definitely fixed it.

Thanks much.