vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   how to put them besides each other? (https://vborg.vbsupport.ru/showthread.php?t=220359)

Shouzen 08-06-2009 10:06 PM

how to put them besides each other?
 
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:


Code:


<!-- 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:
HTML Code:

<!-- 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.
HTML Code:

<table><tr>
<td> one block here </td>
<td> another block here </td>
</tr></table>



All times are GMT. The time now is 01:09 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00946 seconds
  • Memory Usage 1,723KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete