Announcement

Collapse
No announcement yet.

How to remove too much space in P_newsbits template

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to remove too much space in P_newsbits template

    I have too much space in the P_newsbits template for some reason (check the announcement,news,articles&stories centerblock on http://www.arab-gay.com for example, there is way too much space between the text and the 'read more' link. I have looked at the code in the P_newsbits template, but I can't see why it is giving so much space. The height of the table/cells isn't specified so I don't understand it. Can anyone figure this out? When there are three messages in that centerblock it's just taking up too many space for nothing. I will copy the code of the P_newsbit template below.

    Thanks, Rik.

    <table border="0" cellspacing="0" cellpadding="0" width="100%">
    <tr>
    <td bgcolor="{tablebordercolor}" width="100%" >
    <table width="100%" border="0" cellspacing="1" cellpadding="3">
    <tr>
    <td bgcolor="{categorybackcolor}" width="100%"><img src="{imagesfolder}/icons/icon$iconid.gif" border="0" height="15" width="15" alt="icon"> <normalfont color = "{categoryfontcolor}"><b> $newstitle</b></normalfont><smallfont><b> Posted by: [<a href="$bbdir/member.php?s=$session[sessionhash]&action=mailform&userid=$userid">$username</a>] on $postdate @ $posttime</b></smallfont>
    </td>
    </tr>
    <tr>
    <th bgcolor="{pagebgcolor}" width="100%" align="right">
    <table width="100%" border="0" cellspacing="0" cellpadding="0" bordercolor="{pagebgcolor}">
    <tr><td bgcolor="{pagebgcolor}" valign="top" align="justify" bordercolor="{pagebgcolor}">
    <smallfont>$newsarticle</smallfont>
    </td> <th bgcolor="{pagebgcolor}" valign="top" align="center" width="54" height="54" nowrap>
    $P_graphic $postinfo[attachment]
    </th></tr>
    </table><smallfont> <a href="$nukedir/showarticle.php?s=$session[sessionhash]&threadid=$threadid&postid=$npostid"><b>Read More</b></a>&nbsp;<b>$replies</b></smallfont>&nbsp;
    <a href="$bbdir/printthread.php?s=$session[sessionhash]&threadid=$threadid" title="Show a Printable Version"><img src="{imagesfolder}/print.gif" border="0" height="11" width="15" alt="Show a Printable Version"></a>&nbsp;<a href="$bbdir/sendtofriend.php?s=$session[sessionhash]&threadid=$threadid" title="Email This Article to Someone!"><img src="{imagesfolder}/friend.gif" border="0" height="11" width="15" alt="Email This Article to Someone!"></a>&nbsp;<img src="{imagesfolder}/$threadstars" border="0" height="12" width="55" alt="$thread[votenum] votes - $voteavg average">
    </th>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    <br>

  • #2
    This should be posted on www.phpportals.com because that template is a vBPortal template.

    Comment


    • #3
      Originally posted by Jakeman
      This should be posted on http://www.phpportals.com because that template is a vBPortal template.
      Thanks Jakeman, didn't realise that it's a vbportal template.

      Rik.

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      X