Konstantin Kuchugurin wrote:

> I'm preparing a print version of web page. I would like to know how 
> to make a page break,

You'll find reasonably good support for these page-break properties...
<http://www.w3.org/TR/CSS21/page.html#page-break-props>
...in Firefox 3.x and Opera.

> and whether all use 660px width, or it can be automatic margins.

Unknown, as paper and margin sizes are end-user options.

The only thing you can know for sure is that the width is no more than
100% within margins. Thus, declaring a width of 100% or less for the
entire page, can be regarded as safe. Fixed width isn't safe.


If you want to see how documents with page-break properties is "broken
up" in various browsers, you can print-preview or print out this page...

<http://www.gunlaug.no/contents/wd_1_04.html>

...in addition to reading what it says, of course :-)

There's also a pretty complete print-stylesheet linked in...

<http://www.gunlaug.no/contents/styles/ag1c-pr-050225.css>

...so you can get an idea of how I build up such stylesheets.
Note: IE8rc1 doesn't pick up that stylesheet in "edge-mode" yet.

regards
        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
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/

Reply via email to