I was working on new style preparing my site to move from vBulletin, i made small mistake ( i think ) now my stat area not in the place where it needs to be. Still trying to figure out where i did wrong.
Here is my code (Simplified with new templates)
function template_info_center()
{
global $context, $settings, $options, $txt, $scripturl, $modSettings;
// Here's where the "Info Center" starts...
echo '
<span class="clear upperframe"><span></span></span>
<div class="roundframe">
<div class="innerframe">
<div class="cat_bar">
<h3 class="catbg">
<img class="icon" id="upshrink_ic" src="', $settings['images_url'], '/collapse.gif" alt="*" title="', $txt['upshrink_description'], '" style="display: none;" />
', sprintf($txt['info_center_title'], $context['forum_name_html_safe']), '
</h3>
</div>
<div id="upshrinkHeaderIC"', empty($options['collapse_header_ic']) ? '' : ' style="display: none;"', '>';
require("SSI.php");
ssi_recentTopics($num_recent = 8, $exclude_boards = null, $include_boards = null, $output_method = 'echo');
echo '<div class="statleft">';
loadTemplate('statleft');
echo '</div>
<div class="statright">';
loadTemplate('statright');
echo '
</div>
</div></div>
</div>
<span class="lowerframe"><span></span></span>';
CSS
.statleft
{
width: 33%;
float: left;
padding-left: 9px;
height: 31px;
margin-bottom: 1px;
}
.statright
{
width: 64%;
float: right;
padding-left: 9px;
padding-right: 9px;
height: 31px;
margin-bottom: 1px;
}