MyBB Community Forums

Full Version: Author Box in Classic layout Error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Author Box in Classic layout Error

this is error i got

Author Box showing on center left i want on top left Sad
can we have your forum url (if guests can't see threads then give test user account)
its test forum

testing on wamp
can you post code from postbit_classic template of the theme - required code is above {$post['usertitle']}<br />
{$ignore_bit}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">
<tr>
<td class="{$altbg}" width="15%" valign="top" style="white-space: nowrap; text-align: center;"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />
<span class="smalltext">
{$post['usertitle']}<br />
{$post['userstars']}
{$post['groupimage']}
{$post['useravatar']}<br />
{$post['user_details']}
</span>
</td>
<td class="{$altbg}" valign="top">
<table width="100%">
<tr><td>{$post['posturl']}<span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong></span>
<br />
<div id="pid_{$post['pid']}" class="post_body">
{$post['message']}
</div>
{$post['attachments']}
{$post['signature']}
<div style="text-align: right; vertical-align: bottom;" id="post_meta_{$post['pid']}">
<div id="edited_by_{$post['pid']}">{$post['editedmsg']}</div>
{$post['iplogged']}
</div>
</td></tr>
</table>
</td>
</tr>
<tr>
<td class="{$altbg}" style="white-space: nowrap; text-align: center; vertical-align: middle;"><span class="smalltext">{$post['postdate']} {$post['posttime']}</span></td>
<td class="{$altbg}" style="vertical-align: middle;">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr valign="bottom">
<td align="left" ><span class="smalltext">{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}</span></td>
<td align="right">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}</td>
</tr>
</table>
</td>
</tr>
</table>

http://community.mybb.com/post-858702.html

but in my test site getting error in theme - Author Box showing in middle left...i want on top left

like this img -> [Image: attachment.php?aid=30646]



working fine with mybb Default theme
code looks alright. may be an issue with your browser - can you check with a different browser
issue in global.css

can you tell me codes use for this in css?
css style code is not used for aligning postbit cells. it is the table cell valign="top" code which takes care of it
background: rgba(0, 0, 0, 0.3)
-webkit-transition:0.3s;
	transition:0.3s;
	-o-transition:0.3s;
	-ms-transition:0.3s;
	-moz-transition:0.3s;
border-top: 1px solid rgba(160, 160, 160, 0.06);
    
border-bottom: none;
    padding: 10px;
    
vertical-align: middle;
background: -moz1-linear-gradient(top,  rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.5) 100%); /* FF3.6+ */ /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(0,0,0,0.35) 0%,rgba(0,0,0,0.5) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(0,0,0,0.35) 0%,rgba(0,0,0,0.5) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(0,0,0,0.35) 0%,rgba(0,0,0,0.5) 100%); /* IE10+ */
background: linear-gradient(to bottom,  rgba(0,0,0,0.35) 0%,rgba(0,0,0,0.5) 100%); /* W3C */ /* IE6-9 */
}

.userprofile_trow {
background: rgba(0, 0, 0, 0.3) !important;
}

.trow1 {
	background: #f5f5f5;
}

.trow2 {
	background: #EFEFEF;
}


i just change vertical-align: middle; to vertical-align: top; problem sol. Big Grin thanks for your help brother
^ may be table cell td had the referred style attribute. in general we do not use such style in a standard theme.