MyBB Community Forums

Full Version: portal columns
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i have had some problems with shortening the annoucement column so i can add custom blocks on the right. the "tborder" gets smaller with a gap and so does the "thead". If this is confusing just look at the pictureExclamation

heres my code
<table cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<table border="0" width="80%">
<tr>
<td class="thead"><strong>{$icon} <a href="{$mybb->settings['bburl']}/{$announcement['threadlink']}">{$announcement['subject']}</a></strong></td>
<table border="0" width="80%">
</tr>
<tr>
<td class="trow2" align="left">
<span class="smalltext">{$lang->posted_by} <a href="{$mybb->settings['bburl']}/{$announcement['profilelink']}">{$announcement['username']}</a>  - {$anndate} {$anntime} {$numcomments}</span>
</td>
</tr>
<tr>
<td class="trow1">
<table border="0" cellpadding="{$theme['tablespace']}" width="100%">
	<tr>
		{$avatar}
		<td class="trow2">
			<p>
				{$message}
			</p>
			{$post['attachments']}
		</td>
	</tr>
	<tr>
		<td align="right" colspan="2" valign="bottom">
			<span class="smalltext">
				<a href="{$mybb->settings['bburl']}/printthread.php?tid={$announcement['tid']}"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/printable.gif" alt="{$lang->print_this_item}" title="{$lang->print_this_item}" /></a>&nbsp;<a href="{$mybb->settings['bburl']}/sendthread.php?tid={$announcement['tid']}"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/send.gif" alt="{$lang->send_to_friend}" title="{$lang->send_to_friend}" /></a>
			</span>
		</td>
	</tr>
</table>
</td>
</tr>
</table>
<br />

The problem is shown below. Big Grin

alsooo how would i add a extra column to portal so that custom blocks would be to right of announcements
Your using an illegal theme, know one will help you until you remove that theme.
(2009-04-12, 01:27 PM)Combo Wrote: [ -> ]Your using an illegal theme, know one will help you until you remove that theme.

Illegal? and im just basing my own off it.