MyBB Community Forums

Full Version: Alignment
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
[Image: align.jpg]

Where do I go to align the text so it's aligned in the middle... next to the icons. In the image above... the text aligned towards the top.
TIA
Just after the images add
</td><td>
and it'll align it to the middle.
I think he/she means the vertical align?
And my post will solve it.. By default, text is aligned to the middle of a <td> element.
Where do I go to access the code for the icon images?
They're mentioned in the index template and some forumbit templates.
hmm... no luck finding them. But thanks for the help.
Well there's not really much in the index template :| They're near the bottom.
So where exactly would i insert the </td><td>?
-------------------------------------------------------------------------------------------------------
<dl class="forum_legend smalltext">
<dt><img src="{$theme['imgdir']}/on.gif" alt="{$lang->new_posts}" title="{$lang->new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
<dd>{$lang->new_posts}</dd>

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

<dt><img src="{$theme['imgdir']}/offlock.gif" alt="{$lang->forum_locked}" title="{$lang->forum_locked}" style="vertical-align: middle;" /></dt>
<dd>{$lang->forum_locked}</dd>
</dl>
<br style="clear: both" />
-------------------------------------------------------------------------------------------------------
If you can't read, it's your fault.
Pages: 1 2