![]() |
Validate this code please..
Hi, these 2 lines throws errors, when i try to validate on a validator.
HTML Code:
<div style="color:black; font-family:Franklin Gothic Medium; text-shadow:1px 1px 1px transparent; font-style:oblique; text-decoration:overline; padding:1px; font-weight:900;" class="smallfont">{vb:raw post.usertitle}</div> HTML Code:
<vb:if condition="$post['field8']"><div class="Bold" style="color:black; text-shadow:1px 1px 1px transparent; padding:1px; font-weight:900;"><dt>Gender</dt> </div> <dd>{vb:raw post.field8}</dd></vb:if> Any help would be appreciated, cheers :) |
What are the errors you get?
|
|
The image is clear, but the errors are spelled out right there. You can't have a <b> around a <div>. You can't put a <div> around a <dt> (<dt> must be enclosed in <dl> tags).
|
Quote:
Can you just validate for the lines which i have posted above? Many thanks. |
You should just change this to span tags and put them inside the <dt> tags:
HTML Code:
<vb:if condition="$post['field8']"><dt><span class="Bold" style="color:black; text-shadow:1px 1px 1px transparent; padding:1px; font-weight:900;"> Gender</span></dt> <dd>{vb:raw post.field8}</dd></vb:if> |
All times are GMT. The time now is 09:02 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|