TUG MEMBERS: Joining TUG does not automatically register you as a user of the TUG Bulletin Board. You must register yourself.


*ads are disabled when logged in*
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. The TUGBBS forums are completely free and open to the public and exist as the absolute best place for owners to get help and advice about their timeshares for more than 24 years!

    Join tens of thousands of other owners just like you here to get any and all Timeshare questions answered!
    Dismiss Notice
  3. Sign up to get the TUG Newsletter for free! Join tens of thousands of other owners who get this every week! Latest resort reviews and the most important topics discussed by owners during the week!
    Dismiss Notice
  4. Follow the TUG Member Banner as it travels the world on vacation with Timeshare owners! Also sign up to get the banner sent to you so you can submit a photo of your vacation with the banner to share with TUG! Banner Thread
    Dismiss Notice
  5. Note that the "About the rest of TUG" and "About TUGBBS" forums have been moved further down the list under the lounge area. just in case anyone was wondering where they disappeared to!
    Dismiss Notice
  6. A few of the most common links here on the forums for newbies and guests!
    Dismiss Notice
  7. TUG started 24 years ago this month in 1993 as a group of owners on prodigy! Check out our happy birthday post here: Happy Birthday TUG!
    Dismiss Notice
  8. The TUG forums have been upgraded this evening to now utilize https as a more secure way to connect and browse the site (Especially for those logged in). please let us know if you experience any issues or errors while on the site so we can correct them! it is our hope that this is a completely seamless change/upgrade! Forum upgrade thread
    Dismiss Notice

Blank space in posts

Discussion in 'About TUG BBS' started by Elan, Oct 1, 2015.

  1. Elan

    Elan TUG Member

    Joined:
    Jun 6, 2005
    Messages:
    3,991
    Likes Received:
    138
    Trophy Points:
    63
    Location:
    Idaho
    I know this has been addressed before, but is there a way to force a post to adhere to white space? Posting 'cut & paste' type charts is a chore when the blank space between fields gets compressed.

    Thanks!
     
  2. Makai Guy

    Makai Guy Administrator

    Joined:
    Jun 3, 2004
    Messages:
    3,687
    Likes Received:
    154
    Trophy Points:
    63
    Location:
    Aiken, SC, USA
    Resorts Owned:
    Spicebush (Hilton Head Island)
    Web pages are written in a markup language called html. Consecutive spaces are ignored when html is interpreted. Try placing [pre] and [/pre] tags around your text to label it as pre-formatted text.

    [Edited by mg to display correctly under current XenForo bulletin board software.]
     
    Last edited: Jan 10, 2018
  3. Elan

    Elan TUG Member

    Joined:
    Jun 6, 2005
    Messages:
    3,991
    Likes Received:
    138
    Trophy Points:
    63
    Location:
    Idaho
    Great. Thanks!
     
    Last edited by a moderator: Jan 10, 2018
  4. Elan

    Elan TUG Member

    Joined:
    Jun 6, 2005
    Messages:
    3,991
    Likes Received:
    138
    Trophy Points:
    63
    Location:
    Idaho
    Is this formatting aid ([pre]) still valid? Not working on a table I'm trying to post.
     
    Last edited by a moderator: Jan 10, 2018
  5. Makai Guy

    Makai Guy Administrator

    Joined:
    Jun 3, 2004
    Messages:
    3,687
    Likes Received:
    154
    Trophy Points:
    63
    Location:
    Aiken, SC, USA
    Resorts Owned:
    Spicebush (Hilton Head Island)
    That code was for the old vBulletin software we abandoned in November 2017. In our current XenForo bbs, there is no stock XF equivalent to [pre]. (You can get to a list of XF's bbcodes via the small "Help" link at the bottom of the page.)

    I have now created a custom [pre] bbcode replacement for use here on TUGBBS.

    The syntax is [pre]Text you wish to preformat[/pre], which will display the text in monospaced type, as you have formatted it, thus:

    Text you wish to preformat

    This not only displays in a monospaced font, but it prevents the concatenation of multiple spaces into single spaces as is done by normal HTML.

    With this in place I've substantially revised the balance of this post.

    If I enter this tabular data:
    code1.JPG

    It will actually display as:

    Col 1    Col 2    Col3
    a          b          c
    

    Note that the column spacing is still off. That is because we're normally entering the text in the message composition dialog using variable spaced text where the spaces are thinner than most other characters, so you have to enter more of them to get your columns to line up the way you'd like. With the [pre] monospaced display where all characters are the same width those extra full-sized spaces shove things too far to the right. In the example above I needed 10 spaces between a and b, but when monospaced, only 8 are needed.

    The easiest way to fix this for tabular data is to compose locally in a text editor using monospace type, then copy/paste it into the bbs composition window and surround the whole thing with [pre] and [/pre] tags.

    But if you want to type tabular data into the bbs text editor directly, it much easier if you can view it in monospace type as you're doing it. Highlight your table text and use the Button_font.jpg font button in the editing toolbar to change the text to Courier New. Now you can visually adjust the spacing the way you prefer.

    code2.JPG

    It displays as:
    Col 1    Col 2    Col3
    a        b        c
    
     
    Last edited: Jan 10, 2018

Share This Page