New OOTS products from CafePress
New OOTS t-shirts, ornaments, mugs, bags, and more
Results 1 to 2 of 2
  1. - Top - End - #1
    Titan in the Playground
     
    Rizban's Avatar

    Join Date
    Mar 2008
    Location
    Aldhaven
    Gender
    Male

    Default 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
    cell cell2
    Right Aligned


    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.
    Spoiler: Links to my content threads
    Show
    Aldhaven - May 27, 2010 and ongoing.
    Aldhaven Rules and Homebrew (aldhaven.com)

    Character Repository
    Homebrew List
    Quod tibi vis fieri, facias.

  2. - Top - End - #2
    Miniature Giant Space Hamster in the Playground Administrator
     
    Rawhide's Avatar

    Join Date
    Sep 2005
    Location
    Australia
    Gender
    Male

    Default 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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •