Using 'Tables'
2 posters
Page 1 of 1
Using 'Tables'
In the icon list at the top of the page when you're writing a forum post is an option to 'insert a table', with a column and rows selector, 'add a row', and 'add a cell'. How exactly does this work, and can existing posts be edited to include these tables?
hannahl3- Forumember
- Posts : 154
Reputation : 0
Language : English
Location : Nottingham, England
Re: Using 'Tables'
Tables divide texts and other such things into columns and rows. Here is an example of a table:
This is the BBCode for the above table that I used:
The 'tr' represents a row, and the 'td' represents a new column.
If you don't want that border, just remove the 'border=1' from the 'table' tag. Also, you can change the width and height of any of the 'table', 'hr', and 'td' tags by adding width=# or height=# within the tags.
Title 1 | Title 2 | Title 3 | Title 4 |
Info 1 | Info 2 | Info 3 | Info 4 |
Info 5 | Info 6 | Info 7 | Info 8 |
This is the BBCode for the above table that I used:
- Code:
[table border=1]
[tr]
[td]Title 1[/td] [td]Title 2[/td] [td]Title 3[/td] [td]Title 4[/td]
[/tr]
[tr]
[td]Info 1[/td] [td]Info 2[/td] [td]Info 3[/td] [td]Info 4[/td]
[/tr]
[tr]
[td]Info 5[/td] [td]Info 6[/td] [td]Info 7[/td] [td]Info 8[/td]
[/tr]
[/table]
The 'tr' represents a row, and the 'td' represents a new column.
If you don't want that border, just remove the 'border=1' from the 'table' tag. Also, you can change the width and height of any of the 'table', 'hr', and 'td' tags by adding width=# or height=# within the tags.
Rok- Energetic
- Posts : 6823
Reputation : 234
Language : idk
Re: Using 'Tables'
Hmmm - it looks easier to do by using html than bbcodes then. Because the instructions on the table icon are about as clear as fog.
So I could edit existing posts in my forum to include tables?
Reason I'm asking is because I wanted to add some album artwork next to my music players instead of underneath them
(edit) Whoops - I meant 'writing your own bbcodes' instead of the inbuilt ones
So I could edit existing posts in my forum to include tables?
Reason I'm asking is because I wanted to add some album artwork next to my music players instead of underneath them
(edit) Whoops - I meant 'writing your own bbcodes' instead of the inbuilt ones
hannahl3- Forumember
- Posts : 154
Reputation : 0
Language : English
Location : Nottingham, England
Re: Using 'Tables'
Yes, you can. And you can use HTML tables if you have HTML enabled on your forum. Actually, BBCode tables are more simple than HTML tables; however, you can customize more with HTML tables.hannahl3 wrote:So I could edit existing posts in my forum to include tables?
Rok- Energetic
- Posts : 6823
Reputation : 234
Language : idk
Re: Using 'Tables'
So in your esteemed opinion - if my music player is 400 wide, what table widths would suit it best in a standard forum post if the player was to go on the left and the album art was to go on the right? Its on a phpbb3 forum set at 70% width
(edit) Oh hang on, I'm getting a bit too complex here, arent I?
Its just a case of making two columns and it should all rack itself up, yes?
(edit) Oh hang on, I'm getting a bit too complex here, arent I?
Its just a case of making two columns and it should all rack itself up, yes?
Last edited by hannahl3 on Fri 9 Apr - 17:29; edited 1 time in total
hannahl3- Forumember
- Posts : 154
Reputation : 0
Language : English
Location : Nottingham, England
Re: Using 'Tables'
You probably don't have to mess with the width; the border should fit itself around the music player.
How are you wanting the table set up? Like, are you wanting to have the music player and something else horizontal in just one row? If you are, then that should be alright... just watch out for the width of the row because of how wide the music player is. You will probably have about 150 width left on the right side of the row.
How are you wanting the table set up? Like, are you wanting to have the music player and something else horizontal in just one row? If you are, then that should be alright... just watch out for the width of the row because of how wide the music player is. You will probably have about 150 width left on the right side of the row.
Rok- Energetic
- Posts : 6823
Reputation : 234
Language : idk
Re: Using 'Tables'
Yep - that all seems fine to me.
Thanks Rok - I'll let you know if anything blows up
Thanks Rok - I'll let you know if anything blows up
hannahl3- Forumember
- Posts : 154
Reputation : 0
Language : English
Location : Nottingham, England
Re: Using 'Tables'
Alright, I'll be standing over here with some protection goggles and a safety suit just in case.
Rok- Energetic
- Posts : 6823
Reputation : 234
Language : idk
Re: Using 'Tables'
Right, the [td] and [tr] tags arent doing anything at all - just appearing like that in the post itself.
Also, when clicking on the 'insert table' icon, it gives a different tag - ie [table]
So whats happening?
Also, when clicking on the 'insert table' icon, it gives a different tag - ie [table]
So whats happening?
hannahl3- Forumember
- Posts : 154
Reputation : 0
Language : English
Location : Nottingham, England
Re: Using 'Tables'
Hm, you probably have an error in your table BBCode. What code are you using?
Rok- Energetic
- Posts : 6823
Reputation : 234
Language : idk
Re: Using 'Tables'
Sorry, basic elementary primary school mistake.
I didnt close one tag and open the next one.
It works spot on - Thanks x
I didnt close one tag and open the next one.
It works spot on - Thanks x
hannahl3- Forumember
- Posts : 154
Reputation : 0
Language : English
Location : Nottingham, England
Re: Using 'Tables'
It's no problem. Come back whenever you have anymore questions!
Rok- Energetic
- Posts : 6823
Reputation : 234
Language : idk
Re: Using 'Tables'
Okey dokey - the tables are working fine but theres another unforeseen problem.
I've got it set up so that my music player is in the first cell and the album art plus a description of the album, band members, recording stats etc, are in the second cell which is alongside the player. That is - the player in td1 and the other lot in td2.
However - with there being quite a lot of stuff in td2, the player in td1 is appearing halfway down the post as all the content is repositioning itself. Is there a way to override this and bring the player in td1 up to the top of the post?
I've got it set up so that my music player is in the first cell and the album art plus a description of the album, band members, recording stats etc, are in the second cell which is alongside the player. That is - the player in td1 and the other lot in td2.
However - with there being quite a lot of stuff in td2, the player in td1 is appearing halfway down the post as all the content is repositioning itself. Is there a way to override this and bring the player in td1 up to the top of the post?
hannahl3- Forumember
- Posts : 154
Reputation : 0
Language : English
Location : Nottingham, England
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum