Date: Wed, 4 Nov 1998 09:59:38 -0800
Reply-To: Bill Dvorak <bdvorak@YAHOO.COM>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: Bill Dvorak <bdvorak@YAHOO.COM>
Subject: Re: %OUT2HTM question
Content-Type: text/plain; charset=us-ascii
I've gotten page breaks to work using cascading style sheets but from
what I understand only IE 4.0 has incorporated this feature and
Netscape has not. There is also a control for page orientation in the
CSS standard but so far no one seems to have implemented it in their
browser.
Bill Dvorak
---Ray Pass <raypass@WORLDNET.ATT.NET> wrote:
>
> It's not often that I can add something to what Faith has written
when it
> comes to the HTML world, but maybe I can here. A few months ago I
also
> asked about page breaks in the SI Web Publishing tools. I was told
by my
> SI birdie buddy that it can be done by using the new support for CSS
> (Cascading Style Sheets) found in V2 of the tools. Unfortunately, I
never
> got to implement the method, but it's got to do with adding a
footnote at
> the bottom of the output page which would look something like:
>
> footnote '<p style="page-break-after: always;"> </p>';
>
> Jack Hamilton also contributed some explanation here, which I'm
adding to
> the bottom of this note. Sorry if this is kinda skimpy, but the basic
> message is that it is doable.
>
> Ya know Faith, we never stop learning :-) BTW, I though that your
> courteous and quite civil response to Bob Schecter was exactly what
we need
> much more of here instead of flame flame flame. Way ta go!
>
> Ray
>
>
> At 06:23 PM 11/3/98 -0800, Sloan wrote:
> >At 02:03 PM 11/3/98 -0500, Michael Thomas wrote:
> >>_ALL_
> >>
> >> Maybe this has been covered before, but I seem to NOT get
page breaks
> >>when I try to print an HTML file from the browser created by the
%OUT2HTM
> >>macro. Is there an option I have missed to allow this, or must a
person do
> >>something else to get the browser (in this case Netscape) to
recogonize the
> >>page breaks sent by %OUT2THM?
> >>
> >>regards,
> >>michael
> >
> >This is not a SAS issue technically speaking. The concept of 'a
page' does
> >not exist in the web world when rendering pages via a browser.
> >
> >Best...
> >Faith
> >
> >--
> >FRS ASSOCIATES,LLC - Your Corporate Intranet Experts!
> >Linking Strategy with Technology to Give You The Edge on Your
Competition...
> >SAS Software and Internet Training
> >Netscape DevEdge Gold Member | Allaire Alliance Partner
> >Oracle Developers Programme Member | SAS Quality Partner
> >Microsoft Developers Network Member
> >info@frsa.com http://www.frsa.com/ 415 626-9796
>
> --------------------------------------------------------------------
> Here's Jack's note from 8/14/98. I originally posted my whole
> message with Jack's entire post, including its header, but that
> bounced, so I reposted it minus the header. See Joe Kelly's separate
> note about why this happened, and what not to do in the future.
> --------------------------------------------------------------------
>
> Schechter Robert RS <robert.schecter@PHWILM.ZENECA.COM> wrote:
>
> >HTML, unlike WORD, is a document description language and not a word
> >processor.
>
> That was the original idea, but it has been almost entirely ignored by
> browser manufacturers, who saw a way to differentiate themselves from
> the competition by adding visual design elements. Both Netscape
> Navigator and Microsoft Internet Explorer, for example, let you
specify
> fonts and colors for various elements. These things ought to be
handled
> with style sheets, but style sheets didn't make it to market soon
> enough.
>
> >Pagination just doesn't exist, even as a concept.
>
> Yes, they do. See <http://www.w3.org/TR/WD-print>, "CSS Printing
Extensions,
> W3C Working Draft 26-June-97", which says:
>
> [...]
> - Scope and Terminology
> -
> - This specification describes a set of extensions to Cascading Style
> - Sheets (CSS). These extensions let style sheets express:
> -
> - page breaks: one can specify that there should be a page break
before
> - or after HTML elements, for example before all 'H1' elements.
> - page boxes: the style sheet can set page boxes that describe the
> - printable area on a page. Page boxed may be different on left
and
> - right pages. Also, crop and cross marks can be added to pages.
> - media dependencies: one can specify that a section of a style
sheet
> - applies only to a certain media type, for example PRINT or
SCREEN.
> - Another W3C Working Draft, WD-style [2], lists the various
media
> - types. Currently, the list includes: PRINT, SCREEN, PROJECTOR,
> - BRAILLE and AURAL.
> [...]
> - As an example, a page break may be inserted in the document before
all
> - H1 elements:
> -
> - <STYLE>
> - H1 { page-break-before: always }
> - </STYLE>
> - ...
> - <H1 CLASS=chapter>
> - ...
> -
> [...]
>
> >And it is
> >important to remember that not all web browsers recognize all of the
> >standards and may interpret them differently.
>
> I don't know whether any browsers recognize the proposed printing
> extensions. I have never encountered them in use.
>
> >There are many good
> >resources, both in book form and available on-line. I'll send some
> >references I've found helpful tonight.
>
> I liked the Visual Quickstart Guide from Peachpit Press. I haven't
> looked at the HTML 4 version, only the HTML 3 version. Their
JavaScript
> book was not, alas, as good.
>
>
> *------------------------------------------------*
> | Ray Pass voice: (914) 693-5553 |
> | Ray Pass Consulting fax: on request |
> | 5 Sinclair Place |
> | Hartsdale, NY 10530 e-mail: raypass@att.net |
> *------------------------------------------------*
>
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com
|