W3C home > Mailing lists > Public > www-html@w3.org > November 2002

Re: line breaks vs. line elements (comments on XHTML 2.0 text module)

From: Tantek Çelik <tantek@cs.stanford.edu>
Date: Thu, 07 Nov 2002 12:15:53 -0800
To: www-html <www-html@w3.org>
Message-ID: <B9F009F9.1A02C%tantek@cs.stanford.edu>

On 11/7/02 11:16 AM, "Bertilo Wennergren" <bertilow@gmx.net> wrote:

> Tantek Çelik:
>> math { display:block }
>> No need for a purely presentational <br/> in this example.
> Well, actually the code example provided seems to suggest that a break
> is desired _before_ the math element, but _not after it_.

Actually, the original post makes it quite clear that display:block is what
is desired:

 In writing content that
 has images, equations, or other figures embedded inside a paragraph
 <em>(where  said figure takes up the entire column width),</em>

<em>phasis mine.

That implies there is no text on the same line as the <math> element, either
before or after it, thus there is effectively a break desired before _and_
after, thus display:block.

Oh, and if you preferred just a break before, you could do that as well:

 math:before { display:block }

Received on Thursday, 7 November 2002 15:03:01 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:01 UTC