MyBB Community Forums

Full Version: Profile Template Question
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
http://wolvenlore.com/dust/member.php?ac...file&uid=7

I'm trying to add a table that mimics the top ( with the IC info and stats ) with the OOC info and "about me" section. however, every time I add the table in, the Admin & Mod CP thing gets sucked into it for an unknown reason. If I take the table out, they return to where they're supposed to be. It's obviously in my coding but I can't find what I'm missing.

<table border="0" bordercolor="#" style="background-color:#" width="100%" cellpadding="3" cellspacing="2" class="trow1">


 <tr>
  <td width="500px" valign="top"><div style="background-image:url('http://i.imgur.com/RY8KTh0.png'); padding:3px;  margin-bottom:2px; border:1px solid #FFFFFF; opacity:0.8; font-size:11px; height:143px; overflow:auto;"><div class="pmusage">about {$userfields['fid17']}</div>{$userfields['fid7']}</div></td>
  <td valign="top"><table border="0" bordercolor="#FFCC00" style="background-color:#" width="100%" cellpadding="1" cellspacing="1">
<div style="background-image:url('http://i.imgur.com/RY8KTh0.png'); padding:3px;  margin-bottom:2px; border:1px solid #FFFFFF; opacity:0.8; font-size:11px;"><b>OOC Alias</b>: {$userfields['fid17']}</div>
<div style="background-image:url('http://i.imgur.com/RY8KTh0.png'); padding:3px;  margin-bottom:2px; border:1px solid #FFFFFF; opacity:0.8; font-size:11px;"><b>Characters</b>: {$userfields['fid18']}</div>
<div style="background-image:url('http://i.imgur.com/RY8KTh0.png'); padding:3px;  margin-bottom:2px; border:1px solid #FFFFFF; opacity:0.8; font-size:11px;"><b>AIM</b>: {$userfields['fid19']}</div>
<div style="background-image:url('http://i.imgur.com/RY8KTh0.png'); padding:3px;  margin-bottom:2px; border:1px solid #FFFFFF; opacity:0.8; font-size:11px;"><strong>{$lang->date_of_birth}</strong> {$membday} {$membdayage}</div><br>
<div style="background-image:url('http://i.imgur.com/RY8KTh0.png'); padding:3px;  margin-bottom:2px; border:1px solid #FFFFFF; opacity:0.8; font-size:11px;"><strong>{$lang->registration_date}</strong> {$memregdate}</div>
<div style="background-image:url('http://i.imgur.com/RY8KTh0.png'); padding:3px;  margin-bottom:2px; border:1px solid #FFFFFF; opacity:0.8; font-size:11px;"><strong>{$lang->local_time}</strong> {$localtime}</div>
<div style="background-image:url('http://i.imgur.com/RY8KTh0.png'); padding:3px;  margin-bottom:2px; border:1px solid #FFFFFF; opacity:0.8; font-size:11px;"><strong>{$lang->lastvisit} {$memlastvisitdate} {$memlastvisittime}</strong></div>
<div style="background-image:url('http://i.imgur.com/RY8KTh0.png'); padding:3px;  margin-bottom:2px; border:1px solid #FFFFFF; opacity:0.8; font-size:11px;"><strong>{$lang->total_posts} {$memprofile['postnum']}<br>(<a href="search.php?action=finduserthreads&amp;uid={$uid}">{$lang->find_threads}</a> &mdash; <a href="search.php?action=finduser&amp;uid={$uid}">{$lang->find_posts}</a>)</strong></div>
<div style="background-image:url('http://i.imgur.com/RY8KTh0.png'); padding:3px;  margin-bottom:2px; border:1px solid #FFFFFF; opacity:0.8; font-size:11px;"><a href="private.php?action=send&amp;uid={$memprofile['uid']}">{$lang->send_pm}</a></div>
<div style="background-image:url('http://i.imgur.com/RY8KTh0.png'); padding:3px;  margin-bottom:2px; border:1px solid #FFFFFF; opacity:0.8; font-size:9px;">{$online_status} </div>
 </tr>
</tr>
</table>

{$signature}
{$modoptions}
{$adminoptions}

Anyone have any idea?
Such problems are usually caused by incorrect HTML such as lacking closing tags, you should look out for basic mistakes. If you check that page with validator there are 175 errors: http://validator.w3.org/check?uri=http%3...ne&group=0 which is not good.

And in the code you posted above there are 2 closing </tr> while there should be </td></tr>