"Steve Pugh" <st***@pugh.net> wrote in message
news:mf********************************@4ax.com...
Harold R <lu********@yahoo.com> wrote:
Is there HTML code available to provide a printable version of a web
page?
You can use CSS to provide an print stylesheet but the only HTML
component to that is the link:
<link rel="stylesheet" href="print.css" media="print">
That provides an alternative presentation for the printed page. No
need to create duplicate HTML pages.
Without the browser graphics, that is.
Sorry, no idea what you mean. You can hide graphics that are in the
page by using display: none; in your print stylesheet, but I've no
idea what you mean by _browser_ graphics.
Steve
Thank you VERY MUCH for this reply, Steve! I was actually on the newsgroup
checking replies to another question and this thread caught my eye. I found
your remarks about separate CSS files for printed versions of pages to be a
revelation: I hadn't known that anything along this line was possible!
I checked in my favourite HTML/CSS reference (<>) , then threw together a
very simple demonstration of the technique you describe and was blown away.
I think I'm going to find that *very* useful in the future!
Thanks again!
Rhino