The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] Line Spacing Issue

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #153951

    I have a tiny issue with my “p” text. I tried to give it a bigger gap between the lines when it scrolls on to next line by adding line spacing didn’t work what would be your though on this


    Try adding !important in the style. I went inline on your p tag and did style=”line-height: 30px !important;” and it worked.

    edit: Actually looking closer at the css, you have the style for body with a 1em line-height which is after your p style. Move the p style below the body one and that should fix it. I removed the line-height out of your body style and went to normal just as an fyi. But the body style is overriding your p style for that reason.

    Any body styling I try to keep at the very top so everything I style specifically will override that.


    I have fixed issue there was a section of body font: 100%/1em Arial, Geneva, Helvetica, sans-serif; this was causing issue

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.