PDA

View Full Version : Chris's Compliance Madness Thread


Guest210212002
07-02-2006, 06:12 PM
I'm not sure if this belongs in coding discussion, so apologies in advance if there's a more suitable place for it.

Recently, since I suffer from vB mod-itis, I've started going through every template to try and get my site to score better on WC3's compliance checker.

Here's a few snippets that failed, and I'm hoping someone can tell me what I'm doing wrong, or if WC3 is just being nuts.


<a href="http://www.sevenstring.org/forum/showthread.php?t=375"><span
class="portalblue">Ben Carroll / Ra</a></span><br />

The error here is "end tag for "span" omitted, but OMITTAG NO was specified."

I've no idea what OMITTAG NO is, but I haven't specified it anywhere. I get that on every line of the "Reviews and Interviews" CMPS block on the front page of my site (http://www.sevenstring.org). The closing bracket for the /a directly after the word "Ra" in this case is highligted red.

What am I not doing correctly in that line of code above?

* Guest210212002 goes off to google OMITTAG

Paul M
07-02-2006, 06:23 PM
Take out all the crap and you have <a> <span> </a> </span> which can't be right, they are overlapping.

Guest210212002
07-02-2006, 06:26 PM
So it's just the order that I closed the tags?

Would:


<a href="http://www.sevenstring.org/forum/showthread.php?t=375"><span
class="portalblue">Ben Carroll / Ra</span></a><br />

Be what you're talking about? So I end up with a span tag within the <a> tag?

Thanks by the way. :D My site throws a babillion errors in the validator, and since I have no mods left to install that I'm interested in, I'm going mad with nothing to do.