MyBB Community Forums

Full Version: Add gap between 2 blocks on portal
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hey i cant work out how to add a gap between these 2 blocks

[Image: gdGhv.png]

i have put <br /> between them (i think in the right place) but still doesnt work

here is my portal template code
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
</head>
<body>
{$header}
<table width="100%" cellspacing="0" cellpadding="{$theme['tablespace']}" border="0" align="center">
<tr>
<td valign="top">
{$announcements}
</td>
<td valign="top" width="200">
{$welcome}
{$pms}
{$search}
{$stats}
{$whosonline}
{$latestthreads}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead">
<strong>1ST BLOCK TITLE</strong>
</td>
</tr>
<tr>
<td class="trow1">
1ST BLOCK CONTENT
</td>
</tr>
//BR WAS HERE BUT IT PUTS THE LINE BREAK ABOVE BOTH BLOCKS INSTEAD OF BETWEEN THEM PLEASE HELP 
<tr>
<td class="thead">
<strong>2ND BLOCK TITLE</strong>
</td>
</tr>
<tr>
<td class="trow1">
2ND BLOCK CONTENT
</td>
</tr>
</table>
</table>
{$footer}
</body>
</html>

this is where i put the <br />

</td>
</tr>
<br /> //HERE but it goes above both blocks instead of between them
<tr>
<td class="thead">
instead of <br /> try using <tr><td height="2px">&nbsp;</td></tr>
ok i will try that thanks
didnt work now it shows

[Image: khI5Q.png]
Paste whole template here along with media player code.
EDIT fixed it thanks
[Image: cgWHW.png]

i added
<tr><td height="16px"></td></tr>

and changed a few bits of code elsewhere to make it black instead of blue