Quote:
Originally Posted by deathemperor
HTML Code:
<div><if condition="$thread['postuserid'] == $post['userid'] && $thread['firstpostid'] != $post['postid']">$vbphrase[thread_starter] <img alt="$vbphrase[thread_starter]" src="$stylevar[imgdir_misc]/thread_starter.gif" /></if>
</div>
|
rather than possibly breaking someone's XHTML compliance, you should wrap the conditional around the div tag's, so it'd be:
HTML Code:
<if condition="$thread['postuserid'] == $post['userid'] && $thread['firstpostid'] != $post['postid']"><div>$vbphrase[thread_starter] <img alt="$vbphrase[thread_starter]" src="$stylevar[imgdir_misc]/thread_starter.gif" />
</div></if>