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: Håkon Wium Lie <howcome@opera.com>
Date: Sun, 28 Jul 2013 21:45:49 +0200
Message-ID: <20981.29933.527158.53057@gargle.gargle.HOWL>
To: Brad Kemper <brad.kemper@gmail.com>
Cc: Lea Verou <lea@w3.org>, www-style list <www-style@w3.org>
Also sprach Brad Kemper:

 > >>> http://www.w3.org/TR/css3-gcpm/#floating-inside-and-outside-pages
 > >> 
 > >> That's not bad for floats, but doesn't help much if you want to use
 > >> grid or table-* or something else
 > > 
 > > The problem at hand is how to best to sidenotes in CSS (as opposed to
 > > how to do sidenotes with feature x). Here's my proposal:
 > > 
 > >  div.sidebar { float: outside }
 > 
 > My point is that sidebars are commonly needed as a page layout
 > feature, and floats are not great for doing page layout.

Experimentation had led me to a different conclusion. Here's are som
float-based examples for paged layouts:

  http://people.opera.com/howcome/2013/02-reader/

What would be your preferred ways of coding, say, the first of these?

-h&kon
              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome
Received on Sunday, 28 July 2013 19:46:21 UTC

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