View Full Version : how to put them besides each other?
Shouzen
08-06-2009, 10:06 PM
Please check out: http://animationtokyo.com, see the two custom blocks below the navbar?
How do you put the two custom blocks on the navbar besides each other?
Lynne
08-06-2009, 10:46 PM
You put them in the same row of the table, instead of in separate rows as you currently have them.
Shouzen
08-06-2009, 11:00 PM
I don't quite understand, I haven't messed with vb for awhile now, this is the code I'm suing:
<!-- custom block start -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tbody>
<tr>
<td class="tcat"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('custom_block')">
<img id="collapseimg_custom_block" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_custom_block].gif" alt="" border="0" /></a>
<!-- title start -->
Title goes here
<!-- title end -->
</td>
</tr>
</tbody>
<tbody id="collapseobj_custom_block" style="$vbcollapse[collapseobj_custom_block]">
<tr>
<td class="alt2">
<!-- code start -->
Add your code here
<!-- code end -->
</td>
</tr>
</tbody>
</table>
<br />
<!-- custom block end -->
Lynne
08-06-2009, 11:34 PM
That is not the code showing up in the page. This is the code in your page source:
<!-- custom block start -->
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="200px">
<tbody>
<tr>
<td class="tcat">
<!-- title start -->
Select an Anime Series
<!-- title end -->
</td>
</tr>
<tr>
<td class="alt2">
<!-- code start -->
Add your code here
<!-- code end -->
</td>
</tr>
</tbody>
<br />
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="200px">
<tbody>
<tr>
<td class="tcat">
<!-- title start -->
Select an Anime Series
<!-- title end -->
</td>
</tr>
<tr>
<td class="alt2">
<!-- code start -->
Add your code here
<!-- code end -->
</td>
</tr>
</tbody>
</table>
<br /><!-- custom block end -->
For some reason, I thought they were in two rows (perhaps because you have incorrect html - you didn't close the first table), but what you have are two separate tables (except, as I said, you didn't close the first one). So, you might want to put them each in a column in another table.
<table><tr>
<td> one block here </td>
<td> another block here </td>
</tr></table>
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.