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

Re: [css3-multicol] column overflow

From: Robert O'Callahan <robert@ocallahan.org>
Date: Fri, 17 Oct 2008 12:29:05 +1300
Message-ID: <11e306600810161629q27883ba3q53d2a424aa9877fb@mail.gmail.com>
To: "Håkon Wium Lie" <howcome@opera.com>
Cc: "David Hyatt" <hyatt@apple.com>, "www-style@w3.org List" <www-style@w3.org>
On Fri, Oct 17, 2008 at 11:52 AM, Håkon Wium Lie <howcome@opera.com> wrote:

> Also sprach Robert O'Callahan:
>
>  > So here's a completely different proposal: overflow-mode:paginate.
>  >
>  > The idea: if an element has overflow-mode:paginate and would have a
>  > scrollbar in the block-progression-direction, instead of a regular
> scrollbar
>  > presentation, paginate the content into individual "pagelets" and show
> page
>  > navigation UI instead of the block-progression-direction scrollbar.
>
> I like it. I think there's much to gain by making more page-oriented
> presentations on screen.
>
> How would it solve the problem at hand, though, if it only has an
> effect when scrollbars would otherwise appear. The multicol elements
> I'm trying to change don't have scrollbars in the block direction.
>

Like so:
div {
  column-width: 20em;
  max-height: 200px; /* or 100%, or whatever */
  overflow: auto;
  overflow-mode: paginate;
}

Rob
-- 
"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
53:5-6]
Received on Thursday, 16 October 2008 23:29:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:15 GMT