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

Re: [css-display] Unofficial draft of a Display spec ready for consumption

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 23 Oct 2012 08:29:51 -0700
Message-ID: <CAAWBYDDCJEqR2kfyPopMfvka7_xy1xq0pqpZu_RAGHLQvNxOrg@mail.gmail.com>
To: Andrew Fedoniouk <news@terrainformatica.com>
Cc: www-style list <www-style@w3.org>
On Mon, Oct 22, 2012 at 7:30 PM, Andrew Fedoniouk
<news@terrainformatica.com> wrote:
> There is no way in current multi-column spec to disable "multi-columnes"
> Let's say we have this:
>
> div { columns-count:3; column-width: 45px; }
>
> And you will want to disable column layout on mobile.
>
> @media handheld {
>    div { ... how to switch to default block layout here? ... }
> }
> how to do that? Defining display:block will not help you
> to remove columns, right?

div { columns: auto; }

The initial value *obviously* turns off multicol, since it's not on by default.

~TJ
Received on Tuesday, 23 October 2012 15:30:46 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:01 GMT