Author Topic: Using Tables  (Read 941 times)

0 Members and 1 Guest are viewing this topic.

Offline Mysterious Benefactor

  • Systems Manager /
  • Administrator
  • NEW SUPERNAL SCEPTER
  • *****
  • Posts: 16250
  • Karma: +205/-12200
  • Gender: Male
    • View Profile
Using Tables
« on: May 06, 2002, 02:56:43 AM »
Quote
[Well, the good news is that there's nothing wrong with the way YaBB coded the tables feature - the problem was the way *I* typed it in. FYI: the code for the entire table has to be on one line. (Don't hit the enter key anywhere between the start and end table tags.)


I know that might sound like it's complicated, but it's not really:

Don't type the table code on separate lines (the way you may have been taught to type HTML - and the way Web publishing software (i.e. MS FrontPage, etc.) will write it for you), like this:

Code: [Select]
[table]
[tr]
[td] pictures and/or text [/td]
[td] pictures and/or text [/td]
[/tr]
[tr]
[td] pictures and/or text [/td]
[td] pictures and/or text [/td]
[/tr]
[tr]
[td] pictures and/or text [/td]
[td] pictures and/or text [/td]
[/tr]
[/table]

because you'll end up with empty space at the top of your table, like this:














pictures and/or text pictures and/or text
pictures and/or text pictures and/or text
pictures and/or text pictures and/or text


Do type the table code on one line without any spaces between the various tags, like this:

Code: [Select]
[table][tr][td] pictures and/or text [/td][td] pictures and/or text [/td][/tr][tr][td] pictures and/or text [/td][td] pictures and/or text [/td][/tr][tr][td] pictures and/or text [/td][td] pictures and/or text [/td][/tr][/table]
or, if you want it to be a little more readable in case you have to go back and modify something

Do type the table code on one line with spaces between the opening and closing brackets of each tag, like this:

Code: [Select]
[table] [tr] [td] pictures and/or text [/td] [td] pictures and/or text [/td] [/tr] [tr] [td] pictures and/or text [/td] [td] pictures and/or text [/td] [/tr] [tr] [td] pictures and/or text[/td] [td] pictures and/or text [/td] [/tr] [/table]
and both will give you the desired display:

pictures and/or text pictures and/or text
pictures and/or text pictures and/or text
pictures and/or text pictures and/or text

Offline Patti Feinberg

  • Full A ed Newest Fervor Post
  • DSF God
  • *****
  • Posts: 3291
  • Karma: +1729/-3046
  • Gender: Female
    • View Profile
Re: Using Tables
« Reply #1 on: May 06, 2002, 11:31:58 PM »
Uh....yeah.... ?!?   ?!?

MB>>>>this is a board for DS?
Or perhaps I spring-boarded to a link to:

ALGEBRA GEEKS R US ;)

Patti, who hasn't a clue to what/who/la la la
What a Woman!

Offline Mysterious Benefactor

  • Systems Manager /
  • Administrator
  • NEW SUPERNAL SCEPTER
  • *****
  • Posts: 16250
  • Karma: +205/-12200
  • Gender: Male
    • View Profile
Re: Using Tables
« Reply #2 on: May 07, 2002, 12:09:17 AM »
Quote
Or perhaps I spring-boarded to a link to:

ALGEBRA GEEKS R US ;)

Patti, who hasn't a clue to what/who/la la la

That's OK, Patti, don't feel bad. The people who don't know HTML (or have never created a Web page with a program that did it for them) probably wouldn't use tables in their dsboards posts anyway. [wink2] But at least the people who do will know how to do it using YaBBC.