Click here to get back home

printable version

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
printable version Harold R 01-13-2005
Get Chitika Premium
Posted by Harold R on January 13, 2005, 1:23 pm
Please log in for more thread options
Is there HTML code available to provide a printable version of a web
page?
Without the browser graphics, that is.
--
Regards, Harold A Ralston
Racine, Wisconsin, USA


Posted by Steve Pugh on January 13, 2005, 7:32 pm
Please log in for more thread options

>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



Posted by Rhino on January 14, 2005, 4:38 pm
Please log in for more thread options

>
> >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




Similar ThreadsPosted
Styling a printable 'form' March 23, 2005, 12:16 pm
version of Dreamweaver, does it matter? October 20, 2005, 2:43 pm
Testing with differents version of IE August 1, 2007, 5:54 pm
What version of HTML do browsers support? October 15, 2004, 8:52 pm
Generating noframes version of framed page December 15, 2004, 2:18 am
Java applet building tool - new version January 18, 2005, 8:06 am
Connect Daily Web Calendar Version 3.2.11 Released May 5, 2006, 6:05 pm
Weird formatting problems appearing only in Linux version of FireFox December 23, 2004, 10:47 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap