How to Post Tables and Using BBcodes

Moderator: admin

Post Reply
User avatar
rpd
Platinum Member
Posts: 3045
Joined: Tue Apr 05, 2011 3:22 am
Location: Victoria, B.C.

How to Post Tables and Using BBcodes

Post by rpd »

rjent wrote:A table is the solution, but the forum SW has to be able to let you write the code and insert it into the post. The code would look like:

Code: Select all

<table style="width:100%">
  <tr>
    <td>Jill</td>
    <td>Smith</td>		
    <td>50</td>
  </tr>
  <tr>
    <td>Eve</td>
    <td>Jackson</td>		
    <td>94</td>
  </tr>
  <tr>
    <td>John</td>
    <td>Doe</td>		
    <td>80</td>
  </tr>
</table>
OK, I am done .... :D
reible wrote:In the old days when I did web pages we "got around it" by using tables. I'm guessing that is still done today as some pages have columns that line up well no matter. Can it be done here? Don't know and don't feel like trying.

So I think I've added to our drift away from the intent of this thread.

I will be out at the local woodcraft sometime in the next two weeks to take advantages of some sales and I'd like to see what that store knows or is willing to share on the subject. Not the one we just have been talking about but the shopsmith at woodcraft one.

Ed
The above tangential ;) discussion in another thread caused me to do a bit of research on BBcode. Need to learn my "useless fact" for the day. :)
What I found was there is link in the editor window, lower left, just below Options, click on BBcode and there is an explanation of what codes are available.
The way to make tables is to use the Code function that rjent references above.
» Outputting code or fixed width data
If you want to output a piece of code or in fact anything that requires a fixed width, e.g. Courier type font you should enclose the text in tags, e.g.

Code: Select all

echo "This is some code";
All formatting used within tags is retained when you later view it. PHP syntax highlighting can be enabled using and is recommended when posting PHP code samples as it improves readability.

Top
So here is my "test" table
note "code" automatically uses a mono space font and spaces and tabs are preserved. :D
lines a, b. and c have five spaces between entries and line d has one tab between entries.

Code: Select all

a1     a2     a3
b1     b2     b3
c1     c2     c3
d1	d2	d3	
And it works. :cool:
Ron Dyck
==================================================================
10ER #23430, 10ER #84609, 10ER #94987,two SS A-34 jigsaws for 10ER.
1959 Mark 5 #356595 Greenie, SS Magna Jointer, SS planer, SS bandsaw, SS scroll saw (gray), DC3300,
User avatar
reible
Platinum Member
Posts: 11283
Joined: Thu Jul 20, 2006 12:08 pm
Location: Aurora, IL

Re: How to Post Tables and Using BBcodes

Post by reible »

So what ever is between is then left with what ever spacing or lack of that is there.

I did check and HTML is not approved for use but BB coding is to the extent of what is listed. Well we all learn new things every day.

Ed

Code: Select all

1     2     3     4

A     B     C     D
{Knight of the Shopsmith} [Hero's don't wear capes, they wear dog tags]
User avatar
jsburger
Platinum Member
Posts: 6585
Joined: Fri Jul 21, 2006 4:06 pm
Location: Hooper, UT

Re: How to Post Tables and Using BBcodes

Post by jsburger »

rpd wrote:
rjent wrote:A table is the solution, but the forum SW has to be able to let you write the code and insert it into the post. The code would look like:

Code: Select all

<table style="width:100%">
  <tr>
    <td>Jill</td>
    <td>Smith</td>		
    <td>50</td>
  </tr>
  <tr>
    <td>Eve</td>
    <td>Jackson</td>		
    <td>94</td>
  </tr>
  <tr>
    <td>John</td>
    <td>Doe</td>		
    <td>80</td>
  </tr>
</table>
OK, I am done .... :D
reible wrote:In the old days when I did web pages we "got around it" by using tables. I'm guessing that is still done today as some pages have columns that line up well no matter. Can it be done here? Don't know and don't feel like trying.

So I think I've added to our drift away from the intent of this thread.

I will be out at the local woodcraft sometime in the next two weeks to take advantages of some sales and I'd like to see what that store knows or is willing to share on the subject. Not the one we just have been talking about but the shopsmith at woodcraft one.

Ed
The above tangential ;) discussion in another thread caused me to do a bit of research on BBcode. Need to learn my "useless fact" for the day. :)
What I found was there is link in the editor window, lower left, just below Options, click on BBcode and there is an explanation of what codes are available.
The way to make tables is to use the Code function that rjent references above.
» Outputting code or fixed width data
If you want to output a piece of code or in fact anything that requires a fixed width, e.g. Courier type font you should enclose the text in tags, e.g.

Code: Select all

echo "This is some code";
All formatting used within tags is retained when you later view it. PHP syntax highlighting can be enabled using and is recommended when posting PHP code samples as it improves readability.

Top
So here is my "test" table
note "code" automatically uses a mono space font and spaces and tabs are preserved. :D
lines a, b. and c have five spaces between entries and line d has one tab between entries.

Code: Select all

a1     a2     a3
b1     b2     b3
c1     c2     c3
d1	d2	d3	
And it works. :cool:
There is no BBcode below Options here. :confused: Above the editing window is BBcode is on with a link to BBcode. It appears to be a tutorial and I have not really read through it so...
Attachments
Snip 1.PNG
Snip 1.PNG (38.16 KiB) Viewed 1957 times
Snip 2.PNG
Snip 2.PNG (7.51 KiB) Viewed 1957 times
John & Mary Burger
Eagle's Lair Woodshop
Hooper, UT
User avatar
rpd
Platinum Member
Posts: 3045
Joined: Tue Apr 05, 2011 3:22 am
Location: Victoria, B.C.

Re: How to Post Tables and Using BBcodes

Post by rpd »

jsburger wrote: There is no BBcode below Options here. :confused: Above the editing window is BBcode is on with a link to BBcode. It appears to be a tutorial and I have not really read through it so...
Sorry, it is formatted a bit different in the subsilver2 board format that I use.
The link is still there though. Just below the smiles where it says " BBCode is on." Click on the blue BBCode
Ron Dyck
==================================================================
10ER #23430, 10ER #84609, 10ER #94987,two SS A-34 jigsaws for 10ER.
1959 Mark 5 #356595 Greenie, SS Magna Jointer, SS planer, SS bandsaw, SS scroll saw (gray), DC3300,
User avatar
jsburger
Platinum Member
Posts: 6585
Joined: Fri Jul 21, 2006 4:06 pm
Location: Hooper, UT

Re: How to Post Tables and Using BBcodes

Post by jsburger »

rpd wrote:
jsburger wrote: There is no BBcode below Options here. :confused: Above the editing window is BBcode is on with a link to BBcode. It appears to be a tutorial and I have not really read through it so...
Sorry, it is formatted a bit different in the subsilver2 board format that I use.
The link is still there though. Just below the smiles where it says " BBCode is on." Click on the blue BBCode
OK, as I said in my above post I did that but it looked like a tutorial but I really didn't look too closely. I will look again. Thanks!
John & Mary Burger
Eagle's Lair Woodshop
Hooper, UT
User avatar
rpd
Platinum Member
Posts: 3045
Joined: Tue Apr 05, 2011 3:22 am
Location: Victoria, B.C.

Re: How to Post Tables and Using BBcodes

Post by rpd »

jsburger wrote:
OK, as I said in my above post I did that but it looked like a tutorial but I really didn't look too closely. I will look again. Thanks!
That's right, it is a tutorial :) , explains how to use all those buttons at the top of the edit window that were a mystery (to me) before. :cool: :cool:
Ron Dyck
==================================================================
10ER #23430, 10ER #84609, 10ER #94987,two SS A-34 jigsaws for 10ER.
1959 Mark 5 #356595 Greenie, SS Magna Jointer, SS planer, SS bandsaw, SS scroll saw (gray), DC3300,
User avatar
jsburger
Platinum Member
Posts: 6585
Joined: Fri Jul 21, 2006 4:06 pm
Location: Hooper, UT

Re: How to Post Tables and Using BBcodes

Post by jsburger »

rpd wrote:
jsburger wrote:
OK, as I said in my above post I did that but it looked like a tutorial but I really didn't look too closely. I will look again. Thanks!
That's right, it is a tutorial :) , explains how to use all those buttons at the top of the edit window that were a mystery (to me) before. :cool: :cool:
OK I will read it in depth. Thanks again!
John & Mary Burger
Eagle's Lair Woodshop
Hooper, UT
Post Reply