Tables in posts

  • Thread starter LoudMusic
  • 49 comments
  • 1,369 views
Originally posted by gigo
Too complicated for me as I suck at HTML go WYSIWYG editors! - Dreamweaver MX may I add?

Just takes some getting used to.

Code:
[table] starts the table

[tr] makes a row

[td] makes a cell in the row for data

Pretty simple stuff.

~LoudMusic
 
Jordan -- In this thread I've used this new table stuff (totally rocks) but there are a few things that need some tweaking if we can make that happen.

  • There is a HUGE space before the
    tag, and I can't figure out where it's coming from.

    [*] It appears to be set "width=100%". In most cases I would agree that that would be the best way to go. However, in the situations that it will be used most for in GTP threads, I would think that having the table width be dynamic so that the contents force the width would make more sense. That way the columns are closer together keeping the information closer together and making it easier to read. Basically don't set a width, if that's possible.

    [*] Can we make the font a size or two smaller? Because the text is in a table, it doesn't carry over the font settings from outside the table.


I also just noticed this on the "Post Reply" page:

A special note to LoudMusic:

Are you getting ready to post a degrading, harsh, or downright stupid comment?
Think before you speak! GTPlanet is only as good as you make it.

YOU ROCK DUDE! How long has that been there?

~LoudMusic
 
I'm rather confused on how to use the tags. :confused:

(Then again, maybe I simply shouldn't use them :P )
 
They're really quite simple actually. If you have any html experience, they work the same as html tables.

PHP:
[table] (this starts it)
[tr] (this makes a new row)
[td] (this adds a "data" cell)
Hello!
[/td]
[td]
Hi again!
[/td]
[/tr]
[tr]
[td]
BOO!
[/td]
[td]
NEWCH!
[/td]
[/tr]
[/table]

And this is what it looks like when it's loaded.


Hello!

Hi again!

BOO!

NEWCH!

~LoudMusic
 
Oh, and I've figured out the major "gap-osis" problem. It's putting a <br/> in there, which I'm unfamiliar with, other than it adds returns. Somehow they are being processed before the <table> tag, though they are actually contained inside the <table>. No idea. Needs to go away (:

~LoudMusic
 
Just look at all those "<br> tags.....:eek:


Code:
<table width="100%">
<br />
<tr>
<br />
<td>
<br />
Hello!
<br />
</td>
<br />
<td>
<br />
Hi again!
<br />
</td>
<br />
</tr>
<br />
<tr>
<br />
<td>
<br />
BOO!
<br />
</td>
<br />
<td>
<br />
NEWCH!
<br />
</td>
<br />
</tr>
<br />
</table>
 
Originally posted by Pako
Just look at all those "<br> tags.....:eek:


Code:
<table width="100%">
<br />
<tr>
<br />
<td>
<br />
Hello!
<br />
</td>
<br />
<td>
<br />
Hi again!
<br />
</td>
<br />
</tr>
<br />
<tr>
<br />
<td>
<br />
BOO!
<br />
</td>
<br />
<td>
<br />
NEWCH!
<br />
</td>
<br />
</tr>
<br />
</table>

Yeah, but I don't understand why they get processed outside the table. Oh wait, they're after the </t*> tags ... that would put them outside the table ...

~LoudMusic
 
It appears to be set "width=100%". In most cases I would agree that that would be the best way to go. However, in the situations that it will be used most for in GTP threads, I would think that having the table width be dynamic so that the contents force the width would make more sense. That way the columns are closer together keeping the information closer together and making it easier to read. Basically don't set a width, if that's possible.
I hadn't thought of that. Removed! :)

Can we make the font a size or two smaller? Because the text is in a table, it doesn't carry over the font settings from outside the table.
Hmmm? Text in the tables are the normal size for me. :confused:

YOU ROCK DUDE! How long has that been there?
Hehe, it's been a few days now. See http://forums.gtplanet.net/showthread.php?s=&threadid=10706. :D

Oh, and I've figured out the major "gap-osis" problem. It's putting a <br/> in there, which I'm unfamiliar with, other than it adds returns. Somehow they are being processed before the <table> tag, though they are actually contained inside the <table>. No idea. Needs to go away (:
This one is really throwing me for a loop. I don't know where it could be getting any <br/> tags from - I only entered the replacement text as the standard table tags and nothing else. I don't know what to do! :confused: :odd:
 
Just an update...

Unfortunately, due to deliberate abuse, the table tags have been removed. :(
 
Originally posted by meme
I thought those were tags! sorry. :confused:
Those are HTML tags to create a new line (or a line break), but they are automatically inserted into your post when you type a message and press "Enter".

See this? This is two line breaks down - I pressed Enter twice and vBulletin took care of inserting the <br> HTML tag itself. :)
 
Originally posted by gigo


Don't tell me it was my fault in the test forum? - I was testing!
It wasn't your individual fault, it was being abused by many different people.
 
After seeing that screen capture of the Admin CP i have one thing to say.


I need vBulletin!!



Anywho, i never even knew the table tag was there.
It's unfortunate that people would abuse it though, as i clicked on LoudMusic's link and saw his post in a mess, riddled with table tags. :(
 
Back