[thelist] CSS Printable Page Question with Tables

hpinson at indepthl.com hpinson at indepthl.com
Wed Feb 18 21:29:17 CST 2004

Hello.  Using CSS print stylesheet defined this way:

.shell {
    display: none;

and imported into an html document like this:

<LINK rel="stylesheet" type"text/css" href="print.css" media="print">

How could I make only the word "Hello!" printable?

<table width="100%" border="1" class="shell">
    <td width="15%">Left Menu</td>
<p>Just print this, not the table.</p>
    <td width="15%">Right Menu</td>

Div's spanning the table get the whole table, and anything inside 
seems to inherit the "shell" class. Upon print, the whole table is 
printed.  Neither does adding a different class to the inner td tag.

Any suggestions?  Thanks.

Harlow Pinson
Indepth Learning
Email: hpinson at indepthl.com 
Web: http://www.indepthl.com
Voice: 505-994-2135
FAX: 208-475-7678

More information about the thelist mailing list