I just can't get those tables right...

Discussion in 'Forum Information, Questions and Feedback' started by Aurora, Dec 3, 2007.

I just can't get those tables right...

  1. Aurora

    Aurora The Defiant

    Joined:
    Sep 12, 2007
    Messages:
    3,732
    Likes received:
    15
    Trophy points:
    38
    From:
    The Netherlands
    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...
     
  2. Ximnipot69

    Ximnipot69 New Member

    Joined:
    Jun 16, 2007
    Messages:
    454
    Likes received:
    3
    Trophy points:
    0
    From:
    Huskvarna, Sweden
    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
    Code:
    
     a very long line      short line 
     short line         fnarg!  
      fnarg!            a very long line  
    
    
     
  3. BirdofPrey

    BirdofPrey New Member

    Joined:
    Aug 20, 2007
    Messages:
    4,985
    Likes received:
    5
    Trophy points:
    0
    From:
    Arizona
    Stuff
    Code:
           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
     
  4. Aurora

    Aurora The Defiant

    Joined:
    Sep 12, 2007
    Messages:
    3,732
    Likes received:
    15
    Trophy points:
    38
    From:
    The Netherlands
    Aaah, like that, thank you guys!
    :powerup: To Ximnipot69 for finding it first. ;)
     
  5. BirdofPrey

    BirdofPrey New Member

    Joined:
    Aug 20, 2007
    Messages:
    4,985
    Likes received:
    5
    Trophy points:
    0
    From:
    Arizona
    New rule: Nobody upstages the Forum God
     
  6. Alasdair

    Alasdair New Member

    Joined:
    Jul 11, 2007
    Messages:
    414
    Likes received:
    0
    Trophy points:
    0
    From:
    Toronto
    COOL, is that gonna be on the forums rules page?
     
  7. Aurora

    Aurora The Defiant

    Joined:
    Sep 12, 2007
    Messages:
    3,732
    Likes received:
    15
    Trophy points:
    38
    From:
    The Netherlands
    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
     
  8. AcE_01

    AcE_01 Active Member

    Joined:
    Aug 1, 2007
    Messages:
    2,289
    Likes received:
    5
    Trophy points:
    38
    From:
    Australia
    taht is BoP man...u gotta be careful what u say...he might pwn u ;)
     
  9. Meee

    Meee New Member

    Joined:
    Jun 16, 2007
    Messages:
    3,551
    Likes received:
    2
    Trophy points:
    0
    From:
    Poland
    Or even worse yet, smite you
     
  10. EatMeReturns

    EatMeReturns Happy Mapper Moderator

    Joined:
    Jun 28, 2007
    Messages:
    1,730
    Likes received:
    11
    Trophy points:
    38
    From:
    Albuquerque, New Mexico
    :p read my guide to posting and you could have easily learned this... i think... might need a better explanation
     
  11. Aurora

    Aurora The Defiant

    Joined:
    Sep 12, 2007
    Messages:
    3,732
    Likes received:
    15
    Trophy points:
    38
    From:
    The Netherlands
    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
     
  12. BirdofPrey

    BirdofPrey New Member

    Joined:
    Aug 20, 2007
    Messages:
    4,985
    Likes received:
    5
    Trophy points:
    0
    From:
    Arizona
    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
     
  13. Aurora

    Aurora The Defiant

    Joined:
    Sep 12, 2007
    Messages:
    3,732
    Likes received:
    15
    Trophy points:
    38
    From:
    The Netherlands
    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?
     
  14. BirdofPrey

    BirdofPrey New Member

    Joined:
    Aug 20, 2007
    Messages:
    4,985
    Likes received:
    5
    Trophy points:
    0
    From:
    Arizona
    1a2a3a

    1c2c3c


    Code:
    
      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
     
  15. ijffdrie

    ijffdrie Lord of Spam

    Joined:
    Aug 23, 2007
    Messages:
    5,725
    Likes received:
    17
    Trophy points:
    38
    [me=ijffdrie]uses eye of the storm on forum god[/me]



    those tables are almost HTML
     
  16. BirdofPrey

    BirdofPrey New Member

    Joined:
    Aug 20, 2007
    Messages:
    4,985
    Likes received:
    5
    Trophy points:
    0
    From:
    Arizona
    Thats because bbcode is based off HTML

    I wish we could use HTML though
    _________________________________________________

    and now I present NESTED TABLES


    1234
    [br]5​
    6​
    7​

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

    Aurora The Defiant

    Joined:
    Sep 12, 2007
    Messages:
    3,732
    Likes received:
    15
    Trophy points:
    38
    From:
    The Netherlands
    That's some fun stuff you've got there, it might be useful sometime. :powerup: (also for the empty row)