The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
W3C Validation
Added this Template Edits to header of my vBulletin:
https://vborg.vbsupport.ru/showthread.php?t=275895 Code:
<if condition="THIS_SCRIPT != 'register'"> <if condition="$show['guest']"><a href="/board/register.php"><div class="forcetoregister"></div></a></if> </if> And http://validator.w3.org give me an Error Now: Code:
Error Line 243, Column 59: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag <a href="/board/register.php"><div class="forcetoregister"></div></a> The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element. One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>"). Whats wrong with this? |
#2
|
|||
|
|||
I don't know a lot about that stuff, but I think it's like the error message says: you've put a block element (<div>) inside an inline element (<a>), which I guess isn't allowed. Do you need a <div> there? Maybe you can put the <div> outside the <a>.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|