Creating a table in your posts
Posted: Tue Jan 08, 2013 8:58 pm
Hi
I have created the elements to allow us to create a table in our posts.
Shown below is a sample on how to construct a table showing each element. There is an issue here; in this particular example if you laid out the code like this all the carriage returns present at the end of each line would appear at the beginning of the table and show up as a large blank space. (Continued after the code)
So to eliminate all the carriage returns you should run the whole table together with no carriage returns:
The end result looks like this (note the lack of blank space):
I have created the elements to allow us to create a table in our posts.
Shown below is a sample on how to construct a table showing each element. There is an issue here; in this particular example if you laid out the code like this all the carriage returns present at the end of each line would appear at the beginning of the table and show up as a large blank space. (Continued after the code)
Code: Select all
[table]
[tr]
[td][color=#0000FF]Stats[/color][/td]
[/tr]
[tr]
[td]STR[/td]
[td]15(18)[/td]
[/tr]
[tr]
[td]DEX[/td]
[td]8(10)[/td]
[/tr]
[tr]
[td]CON[/td][td]12(14)[/td]
[/tr]
[tr]
[td]MAG[/td][td]10(10)[/td]
[/tr]
[tr]
[td]WIL[/td][td]33(26)[/td]
[/tr]
[tr]
[td]CUN[/td][td]36(26)[/td]
[/tr]
[/table]
Code: Select all
[table][tr][td][color=#0000FF]Stats[/color][/td][/tr][tr][td]STR[/td][td]15(18)[/td][/tr][tr][td]DEX[/td][td]8(10)[/td][/tr][tr][td]CON[/td][td]12(14)[/td][/tr][tr][td]MAG[/td][td]10(10)[/td][/tr][tr][td]WIL[/td][td]33(26)[/td][/tr][tr][td]CUN[/td][td]36(26)[/td][/tr][/table]
Stats | |
STR | 15(18) |
DEX | 8(10) |
CON | 12(14) |
MAG | 10(10) |
WIL | 33(26) |
CUN | 36(26) |