I am running a script which is aligned through css, when my users log in the alignment is perfect, but if they are not logged in everything is jumbled. This is the script, can anyone see anything wrong with it which would cause the problem I described??? <div class="square"> <b class="top"><b class="b2t"></b><b class="b2"></b></b> <div class="boxcontent"> <p class="leftcontent"> {if $loggedin == "1"} <b>Your Account</b> <br /><br /> <strong>Username</strong> : <a href="{$directory}player.php?user={$member.id}">{$member.username}</a> <br /> <strong>HP</strong> : {$member.HP} <br /> <strong>Level</strong> : {$member.level} <br /> <strong>Gold</strong> : {$member.gold|number_format} <br /> <strong>Unread Messages</strong> : <a href="{$directory}messages.php">{$memberunread}</a> v {/if} </p></div><!--box content --> <b class="bottom"><b class="b2"></b><b class="b1b"></b></b> </div><!--square --> </div><!--left --> Code (markup):
Its really hard to figure out from this codes, as the problem doesnt seems to be here. If you can provide the actual link, then after looking at it, maybe it can be figure out. The only extra part in this code I can see is "v" which is present in the codes. Its highlighted with red color. Gonzo
I placed the v there just so I knew where that code was on the page, I will now display the entire page content as well as the css. This is the css.