W3C home > Mailing lists > Public > www-html@w3.org > April 2001

Re: Neutralize <P>?

From: Frank Tobin <ftobin@uiuc.edu>
Date: Thu, 5 Apr 2001 04:34:10 -0500 (CDT)
To: "Handeland, Jarle" <jarle.handeland@capgemini.no>
Cc: <www-html@w3.org>
Message-ID: <Pine.BSF.4.33.0104050428540.20278-100000@palanthas.neverending.org>
Handeland, Jarle, at 09:55 +0200 on Thu, 5 Apr 2001, wrote:

    ...to sum it up:
     How do I get the <p> tag to not act like it does? It should not have any
    visual presentation...

If you want to not have <p> have visual representation, and given that
most browsers will implement an internal stylesheet giving certain
paddings/margins to <p>, your best bet is probably to use stylesheets to
override these paddings/margins.

Since your main concern seems to be the vertical paddings that many
browsers give <p>, the following CSS snippet will eliminate vertical

p { margin: 0, auto; padding: 0, auto }

Frank Tobin		http://www.uiuc.edu/~ftobin/
Received on Thursday, 5 April 2001 05:34:12 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:56 UTC