SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict
    Join Date
    Jul 2004
    Location
    Jed.
    Posts
    243
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Suppress newline in <p>

    How can I suppress newline in <p>?

  2. #2
    SitePoint Enthusiast
    Join Date
    Jun 2005
    Posts
    61
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What do you mean by "newline"?

    Are you referring to the space above or below a paragraph possibly?

    Is so, you can control it with css margin and padding.

    p {margin:0; padding:0}

    That will take away any browser default spacing surrounding a paragraph.

    If this is not what you meant, I apologise.

  3. #3
    SitePoint Addict
    Join Date
    Jul 2004
    Location
    Jed.
    Posts
    243
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ahhhhh
    I don't know what I was thinking.

    Thank you. worked.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •