W3C home > Mailing lists > Public > www-style@w3.org > January 2013

Re: A proposed standard for CSS-controlled sentence spacing

From: Thomas A. Fine <fine@head.cfa.harvard.edu>
Date: Fri, 11 Jan 2013 14:31:08 -0500
Message-ID: <50F0687C.8080905@head.cfa.harvard.edu>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: Markus Ernst <derernst@gmx.ch>, www-style mailing list <www-style@w3.org>
On 1/11/13 1:14 PM, Tab Atkins Jr. wrote:
> Perhaps instead do:
>
> .sentence:not(:last-child) { margin-right: .5em; }
>
> That way, if it's the last element in it's container, it won't have
> the margin and will be able to justify.
>
> ~TJ

No, that's not the problem, the problem is when a sentence lands on the 
right margin, using the box model causes it to wrap early.  Maybe not 
hugely incorrect for ragged right, but for right-justified text it 
completely disrupts the edge.

    tom
Received on Friday, 11 January 2013 19:31:38 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:04 GMT