Fluke667
02-27-2012, 03:29 PM
Added this Template Edits to header of my vBulletin:
https://vborg.vbsupport.ru/showthread.php?t=275895
<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:
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?
https://vborg.vbsupport.ru/showthread.php?t=275895
<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:
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?