[thelist] Printing Part of a Page

Sasa Kulic sskulic at yahoo.com
Thu Sep 27 19:43:31 CDT 2001


--- Annie <annie at twitch.ca> wrote:
> Is there a way to create a print button that will
> only print part of a
> document, e.g.: a table?
> TIA :)
> 
> Annie


Assing CSS class to whatever you don't want to be
displayed.

In your StyleSheet that will be used for print media
only assign this:
.something { display: none }

Link to your stylesheet:
<link rel="stylesheet" type="text/css" media="print"
href="yourstyle.css">

Take a look at http://www.alistapart.com/ how it works
in real life.

Sasa


=====
-------------------------------------
Sasa Kulic
http://www.sashadesign.com/
http://www.cluedesign.com/
-------------------------------------

_______________________________________________________
Do You Yahoo!?
Get your free @yahoo.ca address at http://mail.yahoo.ca




More information about the thelist mailing list