Log in

View Full Version : BB Table Help


mtrac
11-03-2004, 09:22 PM
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 (http://www.07020.com/forums/showthread.php?goto=newpost&t=13). When I inquired (http://www.vbulletin.com/forum/showthread.php?t=119981&goto=newpost) 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:
vjhejdf
gdfjblah blagh

mtrac
11-03-2004, 09:44 PM
You rock! Hope this helps someone else, too.

CyberRanger
10-24-2005, 01:17 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:
vjhejdf
gdfjblah blaghUsing 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