Announcement

Collapse
No announcement yet.

Line Spaces Removed

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Line Spaces Removed

    Every time I enter something with one or two line feeds, it removes them when I post.
    It looks untidy and crams up pages with more than one paragraph ??

    I have tried
    HTML Off
    HTML On - Convert Linebreaks
    HTML On - Don't Convert Linebreaks

    But it continues to do it, it's the same on Edge and Chrome ??

    https://familycookingandbaking.com/f...r-measurements

  • #2
    It is the CSS Reset being used on the table BBCODE. Browsers will apply their own default CSS to elements. This causes things to look differently on various browsers and platforms. The software attempts to control this by stripping that default CSS through code called a CSS Reset. Unfortunately, this can cause problems like you're seeing. Especially with block level elements like a table.

    You can add something like this to your css_additional.css template to restore some whitespace after each table:

    Code:
    div.text_table_ table  {margin-bottom:14px;}
    Note: there is a space between table_ and table.
    ​​​​​​​
    You can adjust the margin-top value to add space between your "header" and the table element.

    Click image for larger version

Name:	2020-03-23_14-41-26.png
Views:	17
Size:	20.9 KB
ID:	4437355



    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API - Full / Mobile
    Vote for your favorite feature requests and the bugs you want to see fixed.

    Comment


    • #3
      Assuming I have added it in the correct place, it hasn't made any difference

      Click image for larger version

Name:	css.jpg
Views:	15
Size:	24.0 KB
ID:	4437357

      Comment


      • #4
        I am seeing space on your page now if I click the link above. Using Microsoft Edge version 80.0.361.66.
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud demonstration site.
        vBulletin 5 API - Full / Mobile
        Vote for your favorite feature requests and the bugs you want to see fixed.

        Comment


        • #5
          Do you want to smack my hand. I do as well now, maybe it took a few mins to become active.

          Smashing and very full answer Wayne, thank you very much.

          Comment

          Related Topics

          Collapse

          Working...
          X