How to stop <p> tags from skipping a line?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zeroblade
    New Member
    • Oct 2007
    • 8

    #1

    How to stop <p> tags from skipping a line?

    How do you stop paragraph tags from skipping a line when after the </p> tag?
  • pedalpete
    New Member
    • Oct 2007
    • 109

    #2
    Originally posted by zeroblade
    How do you stop paragraph tags from skipping a line when after the </p> tag?
    Do you really want to not skip a line? Or are you just not wanting to have a full line space?

    If you don't want </p> to start a new line, then you can use "display: inline;" in your css for the p tag.

    If you are just wanting to reduce the amount of space after the </p> tag, you should be able to set the margin-bottom in the css.

    Comment

    • drhowarddrfine
      Recognized Expert Expert
      • Sep 2006
      • 7434

      #3
      What you are seeing is not a skipping of lines but just a natural margin between paragraphs. To remove that, in your CSS, just say p{margin:0}

      Comment

      • nomad
        Recognized Expert Contributor
        • Mar 2007
        • 664

        #4
        what about using <br>

        nomad

        Comment

        Working...