Re: [css3-multicol] column overflow

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 UTC