RE: pages

On  2 Jun 97 at 11:18, Erik Aronesty wrote:

> Regarding style sheets:
> 	Are there any accepted "style-sheet" constructs which control
> margin/page breaks

Depending on what you mean by "accepted", yes and no.  You can use 
the 'page-break-before' and 'page-break-after' properties of 
Cascading Style Sheets, as defined at 
<http://www.w3.org/pub/WWW/TR/WD-print>.  However, I'm not aware of 
any browser support for these properties as of yet, since CSS 
Printing Extensions are still in the Working Draft phase, and the 
first draft isn't that old.

> headers/footers?

These are listed under "Future Extensions" at the above URL.

> 	Are there "hide this info from the printer" styles?

You can use CSS1 for this:

.toolbar { display: none }

would hide all HTML elements of class "toolbar" (as well as any child 
elements) from the printer when the above rule is used in a style 
sheet linked or embedded with MEDIA=print.

See <http://www.w3.org/pub/WWW/TR/REC-CSS1> for more on CSS1, and 
<http://www.w3.org/pub/WWW/TR/REC-CSS1#display> for more on the 
'display' property.

Liam Quinn
===============  http://www.htmlhelp.com/%7Eliam/  ===============
Web Design Group            Enhanced Designs, Web Site Development
http://www.htmlhelp.com/    http://enhanced-designs.com/

Received on Monday, 2 June 1997 20:13:42 UTC