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

Re: [css3-page] Styling elements differently based on whether they appear on a left or right page

From: Brad Kemper <brad.kemper@gmail.com>
Date: Wed, 31 Jul 2013 10:15:46 -0700
Message-Id: <4D9B7110-A407-4888-8D05-C45CD9E5A53F@gmail.com>
Cc: HÃ¥kon Wium Lie <howcome@opera.com>, Lea Verou <lea@w3.org>, www-style list <www-style@w3.org>
To: Alan Stearns <stearns@adobe.com>

On Jul 30, 2013, at 6:14 AM, Alan Stearns <stearns@adobe.com> wrote:

> That's what Lea was originally asking for. I think it would be a good
> thing to add. I think float:outside/inside are fine as well. But a general
> mechanism for styling content on left/right pages would be better than
> adding special-case values to each property you might want to change
> depending on the spread location.

Let us also not forget :first pages and named pages, which @page can select as easily as :left and :right. Thus, if the mechanism is an @content{} block with rulesets within, itself inside the @page{} block, then it would be a good general way of styling content based on if it appears in right/left/first/or other special pages. 
Received on Wednesday, 31 July 2013 17:16:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:32 UTC