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

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