MyBB Community Forums

Full Version: Sidebar
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
As you can see on my site Gamers Only Forum I have a side bar. But I want to know why it is flush against the side of the forum. Any way to fix this?
You should add a td tag in between the two and specify a width of your liking.
And where would I place that td?
Something like this:
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center">
<tr>

<td width="160" valign="top" align="left">
<table align="center" border="0" cellpadding="6" cellspacing="1" class="tborder" width="90%">
<tr>
<td class="thead"><span class="smalltext"><b>&raquo; Block Name</b></span></td>
</tr>
<tr>
<td color="#FFFFFF" width="100%" bgcolor="#FFFFFF">

<!-- Begin custom code -->
You can add anything in here.
<!-- End custom code -->

</td>
</tr>
</table>

<br /></td>
<td width="4">&nbsp;</td>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
Notice the <td width="4">&nbsp;</td>.
Thank you very much that worked like a charm!
Why not just use margin-right or padding-right?