W3C home > Mailing lists > Public > www-style@w3.org > October 2010

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

From: Håkon Wium Lie <howcome@opera.com>
Date: Mon, 25 Oct 2010 15:50:23 +0200
Message-ID: <19653.35615.940261.143191@gargle.gargle.HOWL>
To: shelby@coolpage.com
Cc: "Håkon Wium Lie" <howcome@opera.com>, "Alex Mogilevsky" <alexmog@microsoft.com>, www-style@w3.org
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:33 GMT