lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev <center> inserts <p>


From: Philip Webb
Subject: Re: lynx-dev <center> inserts <p>
Date: Thu, 17 Sep 1998 12:37:57 -0400 (EDT)

980917 Greg Marr wrote: 
> I was thinking DIV could only contain %block%,
> which would imply the text is inside a <P> element.
> However, it allows %flow%, which includes text.
> So it should be:
>
>> <HTML>
>> <HEAD><TITLE>Test page: centring & line spacing</TITLE></HEAD>
>> <BODY>
>> <DIV ALIGN=center>line 1</DIV>
>> <DIV ALIGN=center>line 2</DIV>
>> <P>end of test</P>
>> </BODY>
>> </HTML>
> 
> Which ?should? be rendered
>                           line 1
>                           line 2
> 
> end of test
 
yes, your HTML should be so rendered,
but you're still inserting <P> ... </P> gratuitously in the last line:
without that, `end of test' would follow `line 2' without a blank line.

anyway, i think we're close to agreement: anyone else care to comment?

-- 
========================,,============================================
SUPPORT     ___________//___,  Philip Webb : address@hidden
ELECTRIC   /] [] [] [] [] []|  Centre for Urban & Community Studies
TRANSIT    `-O----------O---'  University of Toronto

reply via email to

[Prev in Thread] Current Thread [Next in Thread]