Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-02-2006, 06:12 PM
Guest210212002
Guest
 
Posts: n/a
Default Chris's Compliance Madness Thread

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.

Code:
<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. 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?

[high]* Guest210212002 goes off to google OMITTAG[/high]
Reply With Quote
  #2  
Old 07-02-2006, 06:23 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Take out all the crap and you have <a> <span> </a> </span> which can't be right, they are overlapping.
Reply With Quote
  #3  
Old 07-02-2006, 06:26 PM
Guest210212002
Guest
 
Posts: n/a
Default

So it's just the order that I closed the tags?

Would:

Code:
<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. 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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:16 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03699 seconds
  • Memory Usage 2,174KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (3)postbit
  • (1)postbit_onlinestatus
  • (3)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_imicons
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete