W3C home > Mailing lists > Public > www-style@w3.org > April 2015

Re: [css books] endnotes, table notes, footnotes, and sidenotes in HTML/CSS

From: Brad Kemper <brad.kemper@gmail.com>
Date: Tue, 7 Apr 2015 13:19:54 -0700
Cc: "www-style@w3.org" <www-style@w3.org>
Message-Id: <3D516207-AACD-4BF1-A153-53AEF60F9234@gmail.com>
To: Håkon Wium Lie <howcome@opera.com>

> On Apr 7, 2015, at 7:44 AM, Håkon Wium Lie <howcome@opera.com> wrote:
> 
> That is, "outside" and "inside" are used as aliases for "left" and
> "right". Even 'text-align' can be made to depend on this, but it's
> imposible for sidenotes to (say) have differnet background colors for
> left/right pages. 
> 
> 
...

> 
> However, the margin-inside and margin-outside properties are not part
> of a spec. Perhaps they should, along with padding-inside,
> padding-outside, and the corresponding border properties?

I think it would be better to have :left and :right (or :verso and :retro) pseudo-classes, that reflect what page an element is on. Then you could conditionally change backgrounds or whatever you want, without needing a lot of new properties. 
Received on Tuesday, 7 April 2015 20:20:23 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:50 UTC