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.
Well it does not work for me. You can see the spec at this url:
http://developer.apple.com/documentation/appleapplications/Reference/SafariCSSRef/Articles/StandardCSSProperties.html#//apple_ref/doc/uid/TP30001266-PagedMedia
You could see one of my problematic pages at the following url:
http://icgq.net/prof01/fl/bandeaux/01-notions-base/instructions.html
Look at the third paragraph in Section [4]. It breaks before the inline
image.
Thanks
Yvan
______________________________________________________________________
css-discuss [[email protected]]
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/