PDA

View Full Version : I just can't get those tables right...


FoŽSaken
12-03-2007, 04:06 PM
Question:

I am currently working on something for this site, but I need to create some nice tables. Normally I would just use tabs in Microsoft Word or something like that, but since that doesn't work on these forums, I need something else.

But how do I use these properly? If anyone can help me out on this one, I would really appreciate it. I need something like this:

data type 1 <nice space> data 1
data type 2 <nice space> data 2

If you use many different characters, everything goes wrong, like this:

urgb|igungib <nice space> gtgththt
gugit32ughiti <nice space> gtrgtrhth

So I really need to learn how to properly use tables...

Ximnipot69
12-03-2007, 06:05 PM
I'm not really sure what your problem is. I've been playing for a few minutes and my table looks good.


a very long line short line
short line fnarg!
fnarg! a very long line


What does your code look like?

Edit: Forgot to show my code :-[ I'm using 4 spaces to divide the columns


a very long line short line
short line fnarg!
fnarg! a very long line

BirdofPrey
12-03-2007, 07:14 PM
Stuff       More stuff
stuff line 2[code]       da da da


[code]
Stuff[code]      More stuff
stuff line 2[code]      da da da


Use the pre tag and then put on spaces

FoŽSaken
12-04-2007, 08:01 AM
Aaah, like that, thank you guys!
:powerup: To Ximnipot69 for finding it first. ;)

BirdofPrey
12-04-2007, 06:10 PM
New rule: Nobody upstages the Forum God

Alasdair
12-04-2007, 08:46 PM
COOL, is that gonna be on the forums rules page?

FoŽSaken
12-05-2007, 11:51 AM
New rule: Nobody upstages the Forum God
Uhm, what are you talking about? Ximnipot69 just explained it to me first, that's it. There is no need to have a "I'm almighty don't you dare challenging me" attitude. :P

AcE_01
12-05-2007, 12:01 PM
taht is BoP man...u gotta be careful what u say...he might pwn u ;)

Meee
12-05-2007, 12:17 PM
Or even worse yet, smite you

EatMeReturns
12-06-2007, 02:38 AM
:P read my guide to posting and you could have easily learned this... i think... might need a better explanation

FoŽSaken
12-06-2007, 06:50 PM
I'm a little retarded, I didn't understood it when I read your guide. ;P
But their explanation is different then yours, they close the tags after each line, and you didn't, any idea why it (probably) works the same? :P

BirdofPrey
12-06-2007, 09:49 PM
I put different elements on different lines for readability.

You could do everything in a line but by splitting where each row has its own line makes it easier to figure out what goes where.  Its a matter of style and has no effect on the outcome

FoŽSaken
12-07-2007, 10:55 AM
I can't get empty lines in my tables, the only way to do it is closing the table, skipping a line and start a new table, but you won't get similar tabs that way. Does anyone how to accomplish this?

BirdofPrey
12-07-2007, 07:08 PM
1a2a3a

1c2c3c




  1a  2a  3a
          <--Empty row
  1c  2c  3c


I sould note that when you save the table the empty row will automatically have a column added to it but since it is empty it will be rendered as blank space

Lenga
12-07-2007, 09:40 PM
uses eye of the storm on forum god



those tables are almost HTML

BirdofPrey
12-07-2007, 10:43 PM
Thats because bbcode is based off HTML

I wish we could use HTML though
_________________________________________________

and now I present NESTED TABLES


1234[br]5
67



   <--Begin column like normal
    <---Begin new table inside that colum
  1  2
  3  4
     <--Close table and column and start next column -->  [br]5 <--[br] line break to center the 5
6  7  <-- next row is normal

FoŽSaken
12-08-2007, 06:05 PM
That's some fun stuff you've got there, it might be useful sometime. :powerup: (also for the empty row)