Re: A proposed standard for CSS-controlled sentence spacing

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 UTC