On Fri, 10 Apr 2009 16:43:27 -0400 Came this utterance formulated by Yvan Daneault to my mailbox:
> I am a web-design teacher who's in the process of putting his > documentation online, but I also want my students to occasionnally > print the pages. The situation is as follows: > > I do not want paragraphs to be broken by a page break. > > I have include the following rule in my stylesheet: > p {page-break-inside:avoid;} > but it does not seem to work in most browsers, except Opera. I love > Opera but my students are not using it. Most of my base is on Safari > 3.0 Mac which claims that Safari has been supporting page-break-inside > since version 1.3. Opera is the only one with this support AFAIK: http://reference.sitepoint.com/css/page-break-inside#compatibilitysection If you are teaching web design you should be telling students to look at their work in as many different browsers as possible. You can then advise them that Opera has the best support for printing. To me it doesn't matter as i normally copy and paste to a word processor before printing anyway, even on print ready sites, to avoid two lines on a page if i can. -- Michael All shall be well, and all shall be well, and all manner of things shall be well - Julian of Norwich 1342 - 1416 ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/