you are on the new server domainname will switch later
If you can not login please clear cookies
chevron_left
chevron_right
The-Photo forum
  • Home
  • Forums
    • theatersImage Discussions arrow_forward
      • chat_bubbleChallenges arrow_forward
        • camera Edit me an Image
        • camera Photo of the Week
      • chat_bubbleHave your photos Critiqued arrow_forward
        • camera Wednesday C&C
      • Showcase your Photos
      • chat_bubbleWeekly & Topic Image Threads arrow_forward
        • camera Abstract/Experimental
        • camera B&W Threads
        • camera Sunday Cats!
        • camera Weekly Collegial forum
        • camera Daily Outing
        • camera This week through your eyes
        • camera Landscape
        • camera Street Photography
    • theatersMiscellaneous forums arrow_forward
      • Photo Hardware Discussions
      • Industry News
    • theatersOther Photography Talk arrow_forward
      • General Articles
      • Photo History Trivia
      • Open discussions
      • Technical Discussions
    • theatersSite Discussions arrow_forward
      • Governance and organisation
      • Updates & Bugs
    • theatersWelcome arrow_forward
      • chat_bubbleForum Guidelines arrow_forward
        • camera Misplaced Posts
      • Introduce yourself
  • Threads
  • Users
  • Web Site
  • message
  • group
  • chevron_right Threads
  • label Site Site Discussions
  • label UB Updates & Bugs

testing html inside post

gianstam
April 11, 2023
chat_bubble_outline 10
arrow_downward
  • link
    gianstam
    Members 15 posts
    April 11, 2023, 9:51 a.m. April 11, 2023, 9:51 a.m.
    link

    faild

  • link
    DanHasLeftForum
    Members 4254 posts
    April 11, 2023, 11:40 a.m. April 11, 2023, 11:40 a.m.
    link

    At the moment these forums use a combination of BBcode and Markdown code within posts but unfortunately Cascading Style Sheets (CSS) styling is not enabled in either.

    Hopefully one day CSS styling will be enabled in at least BBcode allowing images to be sized and positioned within posts in a more user friendly layout.

    In the mean time if you click the circled ? mark near the top right of the post editor you will see a list of limited styling you can use in addition to the icons near the top left of the post editor to style text within posts.

  • link
    JohnSheehyRev
    Members 550 posts
    April 11, 2023, 12:02 p.m. April 11, 2023, 12:02 p.m.
    link

    Excuse my ignorance; my decades of hobby coding has been mostly math to generate and alter images, and I know little about web scripting. Is there currently a way to simply force a fixed-width font for the purpose of creating tables that show correctly, without having to create an image?

  • link
    DanHasLeftForum
    Members 4254 posts
    April 11, 2023, 12:21 p.m. April 11, 2023, 12:21 p.m.
    link

    Not that I know of.

    The only options for styling and layouts I have found are just what is in the toolbar near the top left corner of the post editor and in the list that pops up when you click the circled ? mark near the top right corner.

    Hopefully more options/flexibility will become available as this website forum develops.

  • link
    Rafal
    Members 66 posts
    April 11, 2023, 2:44 p.m. April 11, 2023, 2:44 p.m.
    link
    @JohnSheehyRev has written:

    there currently a way to simply force a fixed-width font for the purpose of creating tables that show correctly, without having to create an image?

    This is what code block does:

     Col 1 | Col 2 | Col 3 | Col 4
    -------+-------+-------+-------
     Bob   |  9.99 |  0.01 | 10.00
    -------+-------+-------+-------
     Alice | 21.37 | 11.15 | 35.52
    

    AlainCh2 and JohnSheehyRev like this.

    favorite 2

  • link
    JohnSheehyRev
    Members 550 posts
    April 11, 2023, 11:31 p.m. April 11, 2023, 11:31 p.m.
    link
    @Rafal has written:
    @JohnSheehyRev has written:

    there currently a way to simply force a fixed-width font for the purpose of creating tables that show correctly, without having to create an image?

    This is what code block does:

     Col 1 | Col 2 | Col 3 | Col 4
    -------+-------+-------+-------
     Bob   |  9.99 |  0.01 | 10.00
    -------+-------+-------+-------
     Alice | 21.37 | 11.15 | 35.52
    

    Let's see ...

    ..........
    __________
    iiiiiiiiii
    WWWWWWWWWW
    

    Yes; that's it. Thanks.

  • link
    gianstam
    Members 15 posts
    April 12, 2023, 7:13 a.m. April 12, 2023, 7:13 a.m.
    link
    @DannoB has written:

    In the mean time if you click the circled ? mark near the top right of the post editor you will see a list of limited styling you can use in addition to the icons near the top left of the post editor to style text within posts.

    Thanks for that

  • link
    gianstam
    Members 15 posts
    April 12, 2023, 7:17 a.m. April 12, 2023, 7:17 a.m.
    link

    These could be useful
    www.bbcode.org/reference.php
    www.markdownguide.org/basic-syntax/

    JohnSheehyRev likes this.

    favorite 1

  • link
    lehill
    Members 75 posts
    April 14, 2023, 1:21 p.m. April 14, 2023, 1:21 p.m.
    link
    @Rafal has written:
    @JohnSheehyRev has written:

    there currently a way to simply force a fixed-width font for the purpose of creating tables that show correctly, without having to create an image?

    This is what code block does:

     Col 1 | Col 2 | Col 3 | Col 4
    -------+-------+-------+-------
     Bob   |  9.99 |  0.01 | 10.00
    -------+-------+-------+-------
     Alice | 21.37 | 11.15 | 35.52
    

    Whoo hoo! Finally, a way to show a table.

    Long ago I bookmarked this "Table Generator" website that will automatically create a table using fixed-pitch font. I never found a use for it because everyone uses proportional fonts. Let's see if this example from the website works:

    +---------------------------------------+
    |                Results                |
    +-------------+-------------------------+
    |             |        Contestant       |
    | Competition +-------+--------+--------+
    |             |  John | Andrea | Robert |
    +-------------+-------+--------+--------+
    | Swimming    |  1:30 |   2:05 |   1:15 |
    +-------------+-------+--------+--------+
    | Running     | 15:30 |  14:10 |  15:45 |
    +-------------+-------+--------+--------+
    

    Sweet! Thanks Rafal!

    JohnSheehyRev likes this.

    favorite 1

  • link
    jaberg
    Members 535 posts
    April 14, 2023, 1:59 p.m. April 14, 2023, 1:59 p.m.
    link
    @gianstam has written:

    These could be useful
    www.bbcode.org/reference.php
    www.markdownguide.org/basic-syntax/

    I’d add Daring Fireball: Markdown Syntax Documentation to that list. Nothing like going straight to the source.

  • link
    JohnSheehyRev
    Members 550 posts
    April 28, 2023, 12:33 p.m. April 28, 2023, 12:33 p.m.
    link
    @Rafal has written:
    @JohnSheehyRev has written:

    there currently a way to simply force a fixed-width font for the purpose of creating tables that show correctly, without having to create an image?

    This is what code block does:

     Col 1 | Col 2 | Col 3 | Col 4
    -------+-------+-------+-------
     Bob   |  9.99 |  0.01 | 10.00
    -------+-------+-------+-------
     Alice | 21.37 | 11.15 | 35.52
    

    Is this still working with current updates? I just made a text graphic within "```" delimiters and all spaces longer than 2 were reduced to one space, and the carriage returns were stripped out. That's in "Preview". I didn't try posting it yet. Well, I'll try it here:

                 TIME->
    Ideal:  0     1     2     3     4     5     6     7     8     9
    Real-A: 0 1     2  3  4           5            6 7          8
    Real-B: 0   1    2 3        4           5       6    7  8 9  10
    

    EDIT: OK; now it seems to work. I don't know what went wrong before. This here looked right in "Preview", and didn't strip anything out.

    EDIT #2: I found the problem. There was an almost invisible period "." on the last line after the final "```".

arrow_upward

There are no more posts in this thread.

  • DPRevived.com & the-photo.org are owned and operated by The Photographer's Foundation Limited, registered in England, company number 14795583. Contact us here https://the-photo.org/contact.html
powered by misago