View Full Version : Print Stylesheet Question

02-24-2005, 07:51 PM
Hey All,

I've got the following code in my HTML page:

<div id="printOnly"><img src="../images/image.jpg" alt="" /></div>

Here is the default stylesheet:

#printOnly {
display: none;

So it doesn't display on the screen. And here is the print stylesheet:

#printOnly {
border: 1px solid #ffcc00;

The problem is .. It doesn't show the image when printing. Any idea what I'm doing wrong?


02-24-2005, 07:53 PM
Fixed it.

display: inline;

.. in the print stylesheet.

Thanks. :)

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum