MyBB Community Forums

Full Version: How to align the tables in classic posbit.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am trying to edit my classic postbit, and wanted to know how do I make all the cells of the same width.

[attachment=29887]

I want all the user status cells of the same width. Can anyone please help?
Template: postbit_classic

Find:
<td class="{$altbg}" width="15%" valign="top" style="white-space: nowrap; text-align: center;">

Change to:
<td class="{$altbg}" width="15%" valign="top" style="min-width: 120px; max-width: 120px; text-align: center;">

Change the values "120px" as per your need.
Thanks effone, forgot about the max-width and min-width property. Can you tell me how will I give it a seperate color. As if it is enclosed in a box?

Some thing like vbulletin has done
[Image: pQgBzwL.png]
^ you can replace {$altbg} class with a custom class and use required style code for it
{$altbg} is meant for alternate background color only as per .trow1 / .trow2, so, I've left it as is.
So making a custom class and replacing {$altbg} would do the trick right?
^ yes.