A good example/tutorial of different styles for different media can be found here:

http://builder.com.com/5100-6371-1050180.html

-d
  ----- Original Message -----
  From: Jochem van Dieten
  To: CF-Talk
  Sent: Wednesday, November 05, 2003 10:02 AM
  Subject: Re: Printable pages

  Laura Schlee wrote:
  >
  > I have a page of query results which offers the user
  > the option of printing the results listing. I have
  > handled this by sending the user to a graphics-free
  > page where the query is run against the database
  > again, using the session variables from the previous
  > page.  This works, but it seems clunky. Is there a way
  > to handle printing reports more gracefully? I can't
  > use _javascript_ on these pages.

  CSS. Use one stylesheet for the screen and another one for the
  printed version. The UA should pick the right one if you specify
  the right media attribute.

  Jochem

  --
  You have the right
  to remain silent
  but should you?
       - Loesje

[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to