- From: Alan Stearns <stearns@adobe.com>
- Date: Mon, 9 Dec 2013 10:00:24 -0800
- To: "public-digipub-ig@w3.org" <public-digipub-ig@w3.org>
On 12/9/13, 9:50 AM, "Alan Stearns" <stearns@adobe.com> wrote: >On 12/9/13, 9:24 AM, "Robert Sanderson" <azaroth42@gmail.com> wrote: >> >> >>And on the left edge it would be straight, as it's wrapping outside not >>inside. So in the attached, the blue box is the containing element for >>the right column of text and the left floated green box. The green box >>has border radius set (and could avoid >> the left justification by only setting the radius on the right border) >>but contains the red circle shape which is floated right. > >On the left edge it would be straight, but it would be on the left edge of >the left float’s content box. So in your image the text would overlap with >the green border curve on the left (border-radius does not affect wrapping >behavior). You could add another left float inside the left float to move >the content over to match your image. Or in the future you could use >shape-inside, but that’s in level 2 of CSS Shapes. Or you could just add a left margin, as I’m apparently too shape-obsessed to remember the simplest solution. Thanks, Alan
Received on Monday, 9 December 2013 18:01:07 UTC