Re: [css3-multicol] new editor's draft

Also sprach Shelby Moore:

 > > Maybe I can help you. At least, I think I have a use case for
 > > 'column-span: all' when it appears in an overflow column.
 > >
 > > Say, you'd like this three-column design with a copyright text at the
 > > bottom:
 > >
 > >     Menu    | main article | another
 > >     item 1  | text and so  | box with
 > >     item 2  | forth just   | some
 > >     item 3  | some words   | content
 > >             | you know     | over here
 > >
 > >      Copyright © 1900-2000000000000
 > >
 > > Your markup could be:
 > >
 > >   <div class=menu>..</div>
 > >   <div class=article>..</div>
 > >   <div class=box>..</div>
 > >   <p class=copyright>...</p>

 > Why should go underneath? Rather we must do what the designer specificed,
 > and it should span all the three columns at the top.
 > 
 >       Copyright © 1900-2000000000000
 >      Menu    | main article | another
 >      item 1  | text and so  | box with
 >      item 2  | forth just   | some
 >      item 3  | some words   | content
 >              | you know     | over here

'column-span: all' is defined as:

   The element spans across all columns. Content in the normal flow
   that appears before the element is automatically balanced across
   all columns before the element appears.

So, the spanning element will be under/below the content that comes
before it. Inserting it above other content would break the principle
of progressive rendering. It would also be harder to implement, I
believe. 

If you want a spanning element on top, it should come before the other
content in the source.

Cheers,

-h&kon
              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome

Received on Monday, 25 October 2010 13:51:07 UTC