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

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

From: Håkon Wium Lie <howcome@opera.com>
Date: Tue, 7 Apr 2015 23:20:51 +0200
Message-ID: <21796.18995.495824.77705@opera.com>
To: Brad Kemper <brad.kemper@gmail.com>
Cc: "www-style\@w3.org" <www-style@w3.org>
Brad Kemper wrote:

 > > 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.

Like this?:

  aside:left { background: blue }
  aside:right { background: red }

I agree, this would be more powerful, without igniting combinatorial
explosions.

-h&kon
              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome
Received on Tuesday, 7 April 2015 21:21:21 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:30 UTC