W3C home > Mailing lists > Public > www-style@w3.org > August 2011

[css3-regions][css3-multicol] Regions example

From: Håkon Wium Lie <howcome@opera.com>
Date: Wed, 10 Aug 2011 19:46:12 +0200
Message-ID: <20034.50148.885376.651012@gargle.gargle.HOWL>
To: www-style@w3.org
I'm reading up on regions:

  http://dev.w3.org/csswg/css3-regions

Which is close in spirit to:

  http://www.w3.org/TR/WD-layout

The example in Figure 1 and Figure 2 of the Regions spec is nice.
However, it seems to me that the styling of the lead paragrah (in this
case the introduction) is, more often than not, based on the structure
rather than the layout. So, in most magazines, the whole lead paragrah
-- and not just the words that happen to fit in a predinde box --
would be in bold. This is for example the case in The Economist.

Does the regions model support this kind of flexibly-sized regions?

In multicol layout, it could quite easily be specified with something
like this:

  .article { columns: 3 }
  .article img { column-span: 2 }
  .article .lead { column-span: 2; font-weight: bold }

If column-span could take an integer, that is.

Cheers,

-h&kon
              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome
Received on Wednesday, 10 August 2011 17:46:42 GMT

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