MyBB Central

Full Version: Need Help Centering.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How can i center where it says: Forum Contains New Posts, Forum Contains No New Posts, Forum is Locked. I wanted that centered on my index instead of to the left like the deafult theme.
Centering tag is
Use this code here, replace the one you have in your theme and just paste this and edit it if need be. If you cant get it to work, pm me your template and I will send it back to you the way you want it.

<td class="trow1"><span class="smalltext">
<div class="smalltext"><div style="text-align: center;"><img src="{$theme['imgdir']}/on.gif" alt="{$lang->new_posts}" title="{$lang->new_posts}" style="vertical-align: middle; padding-bottom: 4px;" />

    <img src="{$theme['imgdir']}/off.gif" alt="{$lang->no_new_posts}" title="{$lang->no_new_posts}" style="vertical-align: middle; padding-bottom: 4px;" />

    <img src="{$theme['imgdir']}/offlock.gif" alt="{$lang->forum_locked}" title="{$lang->forum_locked}" style="vertical-align: middle;" />
That was perfect thanks for the help.
mmmhmm, no problem Big Grin