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

Re: [css3-break] Breaking using <br> element

From: Simon Sapin <simon.sapin@kozea.fr>
Date: Tue, 14 Aug 2012 12:28:42 +0200
Message-ID: <502A285A.9010708@kozea.fr>
To: www-style@w3.org
Le 14/08/2012 11:37, Mihai Balan a écrit :
> .break {
>      break-after: page; /* or column or region */
> }

The spec says the break-* properties apply to "block-level elements, 
table row groups, table rows". Try this:

.break {
   display: block;
   height: 0;
   break-after: page;
}

Cheers,
-- 
Simon Sapin
Received on Tuesday, 14 August 2012 10:29:05 GMT

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