SMF For Free Support Forum
Signup For Free Forum
August 30, 2008, 10:52:33 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to SMF For Free. The best free SMF Host
 
   Home   Help Search Arcade Gallery Login Register  

Pages: [1]
  Print  
Author Topic: [Guide] Creating Tables in a Post  (Read 3035 times)
0 Members and 1 Guest are viewing this topic.
Sady
SMF For Free Member
*
Offline Offline

Posts: 37


View Profile
« on: March 06, 2006, 04:13:38 pm »

Here is a basic tutorial I made up for my mods that explains a little bit about how to create a table.  I just figured out how to do it myself the other day, so I'm not sure of all the ways you can fine tune them just yet, but here is what I know...

The button to create a table is this one:  the code is [table ] [/table ]
The next button is to create a row: the code is [tr ] [/tr ]  You will need this for every row you want.
The final button is to create columns: the code is [td ] [/td ]   You will need this in every row for as many columns as you are going to use. 

I found it was much faster for me to set up my first couple of rows and then copy and paste the code for the rest of them.

Here is an example of what your code will look like:



It will look like this in your post:




Now, if you want to clean it up a little bit, you can center the text within the columns, as well as underline your header row, etc.  All code for that needs to be inside of the columns tags, like this:



And it will appear as this in your post:





Now if anyone can figure out how to center the entire table in the post, I'd love to know how, because I've messed with putting the center tags in a number of different places and it just doesn't work out quite right.  I hope this helps you some kimmie!  [
« Last Edit: August 27, 2007, 09:13:55 pm by simply sibyl » Logged
Geezer_
SMF For Free Newbie
*
Offline Offline

Posts: 16


View Profile WWW
« Reply #1 on: March 06, 2006, 05:43:49 pm »

awesome tut sadler, your talent is profound
Logged

Sunshine
SMF For Free Newbie
*
Offline Offline

Posts: 1


View Profile
« Reply #2 on: March 09, 2006, 09:19:41 am »

Hi!
I'm new so apologize for mistakes of any kind...
Until now I was using different codes- for PHP forums...
Now I'd like to know how would this code have to look  to work?
Thank's!
<TABLE BORDER="3" WIDTH="50%">
<TR>
<TD>SOME TEXT</TD>
</TR>
</TABLE>
It's about adding borders into tables....
Is there a  code tutorial or at least the most important codes?
For example resizing pictures ,roll-over image...
Logged
Kimmie
SMF For Free Master
*
Offline Offline

Posts: 2015


View Profile WWW
« Reply #3 on: March 28, 2006, 08:20:13 am »

Awesome!!! Thanks!! I will definitely try it when I have a little time to spend on it.  Grin Grin
Logged

Kimmie
SMF For Free Master
*
Offline Offline

Posts: 2015


View Profile WWW
« Reply #4 on: March 28, 2006, 08:34:41 am »

Just tried it. Thanks Sady. It works great. Time consuming, but it works great, none the less.
Logged

Kimmie
SMF For Free Master
*
Offline Offline

Posts: 2015


View Profile WWW
« Reply #5 on: March 30, 2006, 08:07:15 pm »

Something I would like to add - if you want your columns spaced out farther apart (make sure first that they arent centered), then - on any of the lines - add blank spaces equalling the distance you want them spread apart from the next column. I usually put mine on the one that has the longest word in that column.


Example:


« Last Edit: March 30, 2006, 08:09:46 pm by Kimmieb » Logged

Sady
SMF For Free Member
*
Offline Offline

Posts: 37


View Profile
« Reply #6 on: March 31, 2006, 02:43:24 pm »

you can also put spacer columns in between your columns with information in them... it will center things better if you're centering each column.  Just put an extra [td ]           [/td ] in between your columns and leave several spaces in there and just copy and paste it in each row.
Logged
Kimmie
SMF For Free Master
*
Offline Offline

Posts: 2015


View Profile WWW
« Reply #7 on: February 17, 2007, 09:17:54 pm »

I wanted to bump this up because I use alot of tables on my forum and I found out something regarding the tables after your forum has been upgraded:

You can no longer use the code:
Code:
[b] [/b]
at the very beginning/end when creating a table. You now have to use that code every time you want something on a particular line in bold.

You also no longer have to use the code:
Code:
[table][/table]
at the beginning/end.

Example:

TestColumn 1Column 2
Test 1   abcdefg12345
Test 2hijklmnop67890
Test 3qrstuvwxyz   12345


The code for the above table is:

Code:
[tr][td][u][b]Test[/b][/u][/td][td][u][b]Column 1[/b][/u][/td][td][u][b]Column 2[/b][/u][/td][/tr]
[tr][td]Test 1   [/td][td]abcdefg[/td][td]12345[/td][/tr]
[tr][td]Test 2[/td][td]hijklmnop[/td][td]67890[/td][/tr]
[tr][td]Test 3[/td][td]qrstuvwxyz   [/td][td]12345[/td][/tr]

I showed the first 2 lines with the bold code and the other two without so you can see the difference
Logged

Parlabane
SMF For Free Newbie
*
Offline Offline

Posts: 6


View Profile
« Reply #8 on: August 23, 2007, 06:33:07 pm »

Forum Url: http://operamusic.smfforfree3.com
Code:
[table][tr][td][right][u][b]Dates:[/b][/u][/right][/td][td]15, 16 Aug 2007[/td][/tr]
[tr][td][right][u][b]Work:[/b][/u][/right][/td][td]Princess Magogo[/td][/tr]
[tr][td][right][u][b]Composer:[/b][/u][/right][/td][td]Mzilikazi Khumalo[/td][/tr]
[tr][td][right][u][b]Libretto:[/b][/u][/right][/td][/tr][/table][table][tr][td][/td][/tr]
[tr][td][right][u][b]Sibongile Khumalo[/b][/u][/right][/td][td]Princess Magogo[/td][/tr]
[tr][td][right][u][b]Paul Madibeng[/b][/u][/right][/td][td]King Dinuzulu[/td][/tr]
[tr][td][right][u][b]Themba Mkhwani[/b][/u][/right][/td][td]Mankulumana[/td][/tr]
[tr][td][right][u][b]African Renaissance Opera ensemble[/b][/u][/right][/td][td]Orchestra[/td][/tr]
[tr][td][right][u][b]Michael Hankinson[/b][/u][/right][/td][td]Conductor[/td][/tr][/table]

does anyone know why it looks like this now:  http://operamusic.smfforfree3.com/index.php/topic,4.msg4.html#msg4

any insight would be greatly appreciated,

thanks in advance,

Parlabane
Logged
simply sibyl
Global Moderator
*
Offline Offline

Posts: 7946


I am not a dude!


View Profile WWW
« Reply #9 on: August 23, 2007, 06:43:08 pm »

African Renaissance Opera ensemble is very long
Since the td is set to have its contents set to the right everything in it will look that way.
« Last Edit: August 23, 2007, 07:11:50 pm by simply sibyl » Logged

simply sibyl
Global Moderator
*
Offline Offline

Posts: 7946


I am not a dude!


View Profile WWW
« Reply #10 on: August 23, 2007, 07:11:25 pm »

If you want it to look like this: 

Dates:
15, 16 Aug 2007
Work:
Princess Magogo
             Composer:
Mzilikazi Khumalo
Libretto:
Sibongile Khumalo
Princess Magogo
Paul Madibeng
King Dinuzulu
Themba Mkhwani
Mankulumana
African Renaissance
Opera ensemble
Orchestra
Michael Hankinson
Conductor

Use this:

Code:
[table][tr][td][right][u][b]Dates:[/b][/u][/right][/td][td]15, 16 Aug 2007[/td][/tr]
[tr][td][right][u][b]Work:[/b][/u][/right][/td][td]Princess Magogo[/td][/tr]
[tr][td][right]             [u][b]Composer:[/b][/u][/right][/td][td]Mzilikazi Khumalo[/td][/tr]
[tr][td][right][u][b]Libretto:[/b][/u][/right][/td][/tr][/table][table][tr][td][/td][/tr]
[tr][td][right][u][b]Sibongile Khumalo[/b][/u][/right][/td][td]Princess Magogo[/td][/tr]
[tr][td][right][u][b]Paul Madibeng[/b][/u][/right][/td][td]King Dinuzulu[/td][/tr]
[tr][td][right][u][b]Themba Mkhwani[/b][/u][/right][/td][td]Mankulumana[/td][/tr]
[tr][td][right][u][b]African Renaissance [br]Opera ensemble[/b][/u][/right][/td][td]Orchestra[/td][/tr]
[tr][td][right][u][b]Michael Hankinson[/b][/u][/right][/td][td]Conductor[/td][/tr][/table]
Logged



Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC
ServerBeach Coupon
Page created in 0.49 seconds with 16 queries.