Not Solved mybb portal
#1
Not Solved
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 picture!

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


Attached Files Thumbnail(s)
   
#2
Not Solved
Please keep discussion to one thread. Be patient.

http://community.mybboard.net/thread-48115.html


Forum Jump:


Users browsing this thread: 1 Guest(s)