MyBB Community Forums

Full Version: Fixing alignment in the forumdisplay page
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am trying with several different themes and all of them have this same problem. Only the default theme is ok. How can I fix this alignment issue?

Thanks!
Well, you are right that this does seem to get messed up...however, I've been doing some research and most of my own themes have this looking right but there are some that are messed up and I can't place it on why. It may have to do with the images and that, but I don't think so, as as your screenshot dictates, it happens to the default images.

I'll keep looking out for it, I see where the coding is (template: forumdisplay_threadlist).
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;" >
	<tr>
		<td class="trow1">
			<table width="100%" border="0">
				<tr>
					<td>
						<table cellspacing="0" cellpadding="2" style="white-space: nowrap; border: none">
							<tr>
								<td>
								<img src="{$theme['imgdir']}/newfolder.gif" alt="{$lang->new_thread}" />&nbsp;&nbsp;<span class="smalltext">{$lang->new_thread}</span><br />
								<img src="{$theme['imgdir']}/newhotfolder.gif" alt="{$lang->new_hot_thread}" />&nbsp;&nbsp;<span class="smalltext">{$lang->new_hot_thread}</span><br />
								<img src="{$theme['imgdir']}/dot_folder.gif" alt="{$lang->posts_by_you}" />&nbsp;&nbsp;<span class="smalltext">{$lang->posts_by_you}</span>
								</td>
								<td>
									<img src="{$theme['imgdir']}/folder.gif" alt="{$lang->no_new_thread}" />&nbsp;&nbsp;<span class="smalltext">{$lang->no_new_thread}</span><br />
									<img src="{$theme['imgdir']}/hotfolder.gif" alt="{$lang->hot_thread}" />&nbsp;&nbsp;<span class="smalltext">{$lang->hot_thread}</span><br />
									<img src="{$theme['imgdir']}/lockfolder.gif" alt="{$lang->locked_thread}" />&nbsp;&nbsp;<span class="smalltext">{$lang->locked_thread}</span>
								</td>
							</tr>
						</table>
					</td>
					<td align="right">
						{$searchforum}<br /><br />
						{$forumjump}
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
It all seems fine to me, I even added align="left" as a precaution for Opera users as that sometimes gets messed up. But this doesn't seem to be a browser issue either.

Even still, mind posting your browser and version?
this is template problem (older themes)
table width was set to 5%
Bas Wrote:this is template problem (older themes)
table width was set to 5%

You are right. Once I have set the Page Container table width of the theme from default 85% to 95%, the problem is gone.

So if I want to set the table width from 5% to something wider, where should I set it?

Thanks!

One more question, if I would like to implement a LOGO+Menu at the top header banner area(where the logo.gif is.) Which file should I modify? And how can I make those links target to where the forum is positioned?

Appreciate for everyone's help.