Results 1 to 2 of 2
Thread: Tables Ignore Alignment
-
2014-03-31, 11:13 AM (ISO 8601)
- Join Date
- Mar 2008
- Location
- Aldhaven
- Gender
Tables Ignore Alignment
The new table code completely ignores the alignment tags, making it impossible to center or right align an entire table.
The table below uses the following code:PHP Code:[RIGHT]Right Aligned
[table="class: grid"][tr][td]cell[/td][td]cell2[/td][/tr][/table]
Right Aligned[/RIGHT]
Right Aligned
Right Alignedcell cell2
Addendum: Normal [code] tags don't seem to be preventing BBCODE from being executed, which is why I used [php] tags in this post.
Edit: Nevermind, I was missing that it used a special code in the table command.Last edited by Rizban; 2014-03-31 at 11:17 AM.
Quod tibi vis fieri, facias.Spoiler: Links to my content threadsAldhaven - May 27, 2010 and ongoing.
Aldhaven Rules and Homebrew (aldhaven.com)
Character Repository
Homebrew List
-
2014-03-31, 11:20 AM (ISO 8601)
- Join Date
- Sep 2005
- Location
- Australia
- Gender
Re: Tables Ignore Alignment
php, code, html tags do not stop the parsing of code. Use [noparse] for that.
Align the table in the table code, like so:
[table="width: 500, align: center"]
"My Hobby: Replacing your soap with gravy" by rtg0922, Doll and Clint "Rawhide" Eastwood by Sneak