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 as a member*
  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. TUG is trying out a new program that will trade you a TUG membership for a Timeshare resort review if you are an expired member, or even just a guest here on the forums!

    Read more here
    Dismiss Notice
  5. Our official "end my sales presentation early" T-shirts are available again! Also come with the option for a free membership extension with purchase to offset the cost!

    Read more Here
    Dismiss Notice
  6. 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
  7. A few of the most common links here on the forums for newbies and guests!
    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:
    4,281
    Likes Received:
    308
    Trophy Points:
    268
    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,780
    Likes Received:
    261
    Trophy Points:
    343
    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:
    4,281
    Likes Received:
    308
    Trophy Points:
    268
    Location:
    Idaho
    Great. Thanks!
     
    Last edited by a moderator: Jan 10, 2018
  4. Elan

    Elan TUG Member

    Joined:
    Jun 6, 2005
    Messages:
    4,281
    Likes Received:
    308
    Trophy Points:
    268
    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,780
    Likes Received:
    261
    Trophy Points:
    343
    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