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:


Which is close in spirit to:


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.


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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:03 UTC