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

Re: [css3-multicol] page-break-inside and columns

From: Håkon Wium Lie <howcome@opera.com>
Date: Thu, 2 Apr 2009 16:25:05 +0200
Message-ID: <18900.51905.37961.571713@opera.com>
To: Philip TAYLOR <P.Taylor@Rhul.Ac.Uk>
Cc: www-style@w3.org
Also sprach Philip TAYLOR:

 > Now what I would /like/ to specify is that the <H2> and
 > at least two lines of the opening para. must occur on
 > the same page, and that the first two lines of the para.
 > must not be split across column boundaries, yet as far
 > as I can see, there is no valid markup that can delimit
 > such a stretch of text (even if I knew in advance where
 > the second line of the para. would end, which clearly
 > I cannot).

You don't need markup for this; the 'orphans' and 'widows' properties
apply to columns as well as pages.

  http://dev.w3.org/csswg/css3-multicol/#filling-columns

 > So I have to say, I simply cannot envisage a situation in
 > which I would want to inhibit both page /and/ column breaks;
 > are you able to adduce an example which would demonstrate the
 > need for such a combination of constraints ?

I think it's a common scenario that authors don't want elements to
break. No?

-h&kon
              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome
Received on Thursday, 2 April 2009 14:25:54 GMT

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