W3C home > Mailing lists > Public > www-style@w3.org > June 2009

RE: [css3-multicol] column-span property

From: Alex Mogilevsky <alexmog@microsoft.com>
Date: Wed, 3 Jun 2009 05:10:33 -0700
To: Håkon Wium Lie <howcome@opera.com>
CC: "www-style@w3.org" <www-style@w3.org>
Message-ID: <7C2F64B551D8664AAD94A28DAC37D02074FEDCD58F@NA-EXMSG-C103.redmond.corp.microsoft.com>
I should have used a dot: ".bodytext"

My example assumes this markup:

	<div class=bodytext>two-column content</div>
	<h2>heading</h2>
	<div class=bodytext>two-column content</div>

And style

	h2 { columns:1}  
	.bodytext { columns:3 }

Of course for this to work the content has to have additional elements (in case of column-span these would be anonymous multicolumn blocks). I do have preference to explicit elements over anonymous (and it is good for semantic markup too).

-----Original Message-----
From: Håkon Wium Lie [mailto:howcome@opera.com] 
Sent: Wednesday, June 03, 2009 2:03 PM
To: Alex Mogilevsky
Cc: Håkon Wium Lie; www-style@w3.org
Subject: RE: [css3-multicol] column-span property

Also sprach Alex Mogilevsky:

 > I think "column-span:all" is equivalent to a sequence of multicol elements:
 > 
 > h2 { columns:1}  
 > bodytext { columns:3 }

If so, how would you then express item #7 in this document:

  http://www.princexml.com/samples/magic.pdf

That is, how are nested multicol elements expressed?

-h&kon
              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome
Received on Wednesday, 3 June 2009 12:11:11 GMT

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