Web Development

General discussion


Transform XHTML/CSS pages into printer-friendly pages

By MaryWeilage Editor ·
This week's Design and Usability Tactics e-newsletter examines transforming XHTML/CSS pages into printer-friendly pages. Do you think you'll use the methods described in this e-newsletter? How do you create printer-friendly pages for users who use browsers that are older than IE5+ or Netscape 6+?

If you aren't subscribed to the Design and Usability Tactics e-newsletter, visit our e-newsletter subcenter to subscribe:

* Please delete any extra spaces that appear when you paste this link into your browser.

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -


by john.winsor In reply to Transform XHTML/CSS pages ...

In any discussion of a technique, it is customary to provide example code as illustration.

In grade school, this is the "show" part of "show and tell."

Collapse -

I second the motion of the previous post - actual examples

by PaulWit In reply to Transform XHTML/CSS pages ...

Please give us a link to a real page that employs this technique, and the code in the style sheet files. Show us ! Thanks.

Collapse -

Next week's column will feature examples

by MaryWeilage Editor In reply to I second the motion of th ...

Thanks to both readers for offering your feedback. Due to reader interest, Mr. Meadhra is going to write a follow-up column that offers examples and provides additional details about creating printer-friendly pages using CSS.

We greatly value your input.

Thanks again,
Mary Weilage, E-newsletter Editor

Collapse -

Types of examples

by webmonkeyBUILDER In reply to Next week's column will f ...

It would be great if the author could provide examples for pages which use only xhtml/css, and perhaps one or two incorporating the leading programming languages for the web, in particular PHP/MySQL and ASP. The process may be the same regardless of the technology used, but it would be great to see functioning examples of both.

Thanks for the very informative article!

Collapse -

Client vs. Server

by gator4life In reply to Types of examples

PHP and ASP are *server-side* technologies that can be used to create content that the *client-side* user agents (e.g. web browsers) render once that content has been sent to the user agents. These *server-side* technologies have absolutely nothing to do with how *client-side* XHTML/CSS is rendered within the actual user agents. Examples that show how XHTML/CSS function are all that is needed, since the XHTML and the CSS used to style that XHTML are both on the client, having already been delivered by the server. It is up to you how to generate that *client-side* content using the *server-side* technologies, if needed, but I believe that discussion is outside of the scope of the topic being presented here.

Collapse -

Page Breaks, Header, and Footers, Oh my!

by jcalzada In reply to Transform XHTML/CSS pages ...

Hey guys,
I have been searching for this kind of material for a while. I am
desperate need to control over page breaks, headers, and
footers. I have not been able to find reliable methods for the
headers and footer in particular. Any suggestions? Thanks in

Collapse -

CSS Paged Media Information

by gator4life In reply to Page Breaks, Header, and ...

As far as what is available in CSS2 for the handling of content in paged media, check out http://www.w3.org/TR/CSS2/page.html, but the kind of stuff you want to do with headers and footers is currently part of the CSS3 Candidate Recommendation: http://www.w3.org/TR/2004/CR-css3-page-20040225/. Therefore, don't expect to see headers and footers in CSS implemented in most of the major user agents for a bit longer. Too bad, too, since the stuff recommended in CSS3 for paged media looks incredible.

Related Discussions

Related Forums