MyBB Community Forums

Full Version: Classic Post bit author bit width problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have this

From: {$post['fid1']}&nbsp;<a target="blank" href="http://en.wikipedia.org/wiki/Especial:Search?search={$post['fid1']}&fulltext=&go=Go" title="Look up {$post['fid1']} on wikipedia"
 style="cursor:help;" class="wiki"><img style="vertical-align: top; width: 16px; height: 16px;box-shadow:none; border:0; padding:0;" src="images/flags/{$post['fid1']}.png" ALIGN=ABSBOTTOM></img></a> <br />
Gender: {$post['fid3']}&nbsp;<img style="vertical-align: top; width: 16px; height: 16px;" src="{$mybb->settings['bburl']}/images/{$post['fid3']}.png" /><br />
{$lang->postbit_posts} {$post['postnum']}<br />
	{$lang->postbit_joined} {$post['userregdate']}<br />
	{$post['replink']} {$post['button_rep']}
	{$post['warninglevel']}

And unfortunately the {post[fid1]} if it gets something long like "United States of America" it will push the row to the right.

Under post-bitclassic I see:

<td class="{$altbg}" width="15%" valign="top" style="white-space: nowrap; word-wrap:break-word; text-align: center;"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>

If I try to set 15% to a fixed figure it still flexes the posts to the right, so the rows are all over the place if some users have long location names.

I can't seem to get word wrap to work on {post[fid1]} (that's the country/location)

I fixed my issue. All I removed was this:

style="white-space: nowrap;

From:

<td class="{$altbg}" width="15%" valign="top" style="white-space: nowrap; word-wrap:break-word; text-align: center;"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>

In postbit_classic

Problem gone