vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   BB Table Help (https://vborg.vbsupport.ru/showthread.php?t=71329)

mtrac 11-03-2004 09:22 PM

BB Table Help
 
I need to display tabular data in a post. Since I was unable to lay it out properly with stock VB, I created my own table codes. They worked, but VB is adding vertical space before the table. When I inquired at vbulletin.com, I was told it was a design "feature" and referred here.

Greatly appreciate any advice anyone has. I'm an accounting type and frequently need tabular data to illustrate points.

Thanks.

Mike

Xenon 11-03-2004 09:30 PM

that's because new lines before each td tage will produce <br />'s within the table but not within the td tags.

just write your post in that maner:
[table][tr][td]vjhejdf
gdfj[/td][td]blah blagh[/td][/tr][/table]

mtrac 11-03-2004 09:44 PM

You rock! Hope this helps someone else, too.

CyberRanger 10-24-2005 01:17 PM

Quote:

Originally Posted by Xenon
that's because new lines before each td tage will produce <br />'s within the table but not within the td tags.

just write your post in that maner:
[disable][table][tr][td]vjhejdf
gdfj[/td][td]blah blagh[/td][/tr][/table][/disable]

Using vb3.5, the [table] BB Codes don't seem to do anything. Do I need to add them using the BB Code Manager?

Edit: Okay, I added the table tags via the BB Code Manager but new lines are still showing as <br />'s at the top of the table. :ermm: I'd really like to keep the new lines (so that the table is easier to read for editing). Any way to do that?

Xenon 10-24-2005 09:10 PM

just from within the bb code manager that's not possible.

You'd have to hack the bbcode parser to remove linebreaks between the tabletags automatically


All times are GMT. The time now is 08:33 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.01045 seconds
  • Memory Usage 1,717KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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