Re: <p> ... </p>

Abigail (abigail@tungsten.gn.iaf.nl)
Tue, 19 Dec 1995 21:37:41 +0100 (MET)


From: Abigail <abigail@tungsten.gn.iaf.nl>
Message-Id: <199512192037.VAA02124@tungsten.gn.iaf.nl>
Subject: Re: <p> ... </p>
To: snelson@digipix.com (Scott Nelson)
Date: Tue, 19 Dec 1995 21:37:41 +0100 (MET)
Cc: www-html@w3.org
In-Reply-To: <n1392746151.64048@digipix.com> from "Scott Nelson" at Dec 19, 95 12:31:17 pm

You, Scott Nelson wrote:
++ 
++ This is very confusing to me, sorry.
++ 
++ If I write:
++     <P ALIGN=CENTER>  
++          This is the first paragraph.
++     <P> 
++          This is the second.
++     </P>
++ 
++ Is the second paragraph centered?

No. The second <p> ends the first paragraph, hence the secod paragraph
does not get centered. If you want both paragraphs to be centered, use:

<p align = "center">First
<p align = "center">Second</p>

Or alternatively, (but in my opinion usually less good):
<div align = "center">
<p>First
<p>Second
</div>



Abigail