P style

Discussion in 'HTML' started by Aaron Gray, Apr 5, 2006.

  1. Aaron Gray

    Aaron Gray Guest

    How do I redefine in CSS <P> to give normal <BR> style behaviour ?

    I need a normal line break to happern between paragraphs.

    I tried :-

    <style>
    p {
    padding-top: 0px;
    }
    </style>

    But that did not work.

    Many thanks in advance,

    Aaron
     
    Aaron Gray, Apr 5, 2006
    #1
    1. Advertising

  2. Aaron Gray wrote:
    > How do I redefine in CSS <P> to give normal <BR> style behaviour ?
    >
    > I need a normal line break to happern between paragraphs.
    >
    > I tried :-
    >
    > <style>
    > p {
    > padding-top: 0px;
    > }
    > </style>
    >
    > But that did not work.
    >


    Margin not padding.

    P { margin-top: 0; margin-bottom: 0; }


    --
    Take care,

    Jonathan
    -------------------
    LITTLE WORKS STUDIO
    http://www.LittleWorksStudio.com
     
    Jonathan N. Little, Apr 5, 2006
    #2
    1. Advertising

  3. Aaron Gray

    Jim Moe Guest

    Aaron Gray wrote:
    > How do I redefine in CSS <P> to give normal <BR> style behaviour ?
    > I need a normal line break to happern between paragraphs.
    >

    p { margin: 0; }

    --
    jmm (hyphen) list (at) sohnen-moe (dot) com
    (Remove .AXSPAMGN for email)
     
    Jim Moe, Apr 5, 2006
    #3
  4. Aaron Gray

    Aaron Gray Guest

    Great, thanks alot,

    Aaron
     
    Aaron Gray, Apr 5, 2006
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rob Nicholson
    Replies:
    3
    Views:
    835
    Rob Nicholson
    May 28, 2005
  2. Replies:
    0
    Views:
    2,511
  3. Replies:
    1
    Views:
    810
    Bertilo Wennergren
    Nov 24, 2003
  4. Hardeep Rakhra
    Replies:
    8
    Views:
    660
    Hardeep Rakhra
    Jan 15, 2004
  5. Ken Varn
    Replies:
    0
    Views:
    526
    Ken Varn
    Apr 26, 2004
Loading...

Share This Page