1. Have you installed the new JSF Mobile app? Check out all the details here.
    Dismiss Notice
  2. One account & one avatar for all of JSF. Unified login and profile. Forum alerts on the main site, and more. Check out the details here: Forum & main site unified account feature is live!
    Dismiss Notice

Tables in forums

Discussion in 'Technical' started by leftyx, Jun 26, 2016.

  1. leftyx

    leftyx Senior Member

    Joined:
    Jun 16, 2005
    Messages:
    6,086
    Likes Received:
    11
    Question about tables. Here is code from my old forums table

    [/table="head;width=15em"]| pre | cur | measure
    | 156.6 | 156.4 | weight
    | 38.0 | 38.0 | waist
    | 37.5 | 37.5 | hips
    | 23.0 | 23.0 | bf%
    | 13.0 | 13.0 | bi
    | 21.0 | 21.0 | thigh
    [/table]

    the "/" before the first table tag is for documentation

    Column1Column2Column3
    pre cur measure
    156.6 156.4
    38.0 38.0
    37.5 37.5
    23.0 23.0
    13.0 13.0
    21.0 21.0


    I am unable to read it.
     
    #1 leftyx, Jun 26, 2016
    Last edited by a moderator: Jun 27, 2016
  2. John Stone

    John Stone Every day is Leg Day
    Staff Member Owner

    Joined:
    Jan 20, 2004
    Messages:
    20,921
    Likes Received:
    74
    Thanks for the bug report, sorry for the delay. I've corrected the styling issue.

    Your syntax is a little off, and that's why the column headings are not showing correctly and there is an empty column. Try something like this:

    Code:
    [table=head] | START | CURRENT
    WEIGHT | 156.6 | 156.4
    WAIST | 38.0 | 38.0
    HIPS | 37.5 | 37.5
    BF % | 23.0 | 23.0
    BICEPS | 13.0 | 13.0
    THIGH | 21.0 | 21.0
    [/table]

    Which will produce this table:

    START CURRENT
    WEIGHT 156.6 156.4
    WAIST 38.0 38.0
    HIPS 37.5 37.5
    BF % 23.0 23.0
    BICEPS 13.0 13.0
    THIGH 21.0 21.0
     
  3. leftyx

    leftyx Senior Member

    Joined:
    Jun 16, 2005
    Messages:
    6,086
    Likes Received:
    11
    John thankyou

    It works.
     
    John Stone likes this.

Share This Page