PDA

View Full Version : Site Logo/ Watermark Script - how to not print the image?



enviroflash
07-27-2010, 01:21 AM
Site Logo/ Watermark Script

http://www.dynamicdrive.com/dynamicindex4/logo.htm

Hi,

I have an image sitting in the bottom left hand corner of the browser but want to turn this off when the viewer prints as it covers up the text on the page..I'm not sure how to do this in a css style sheet as it doesn't sit in a div..any suggestions?

see url: http://www.nrm.gov.au/index.html

Thanks heaps.

Enviro

ddadmin
07-27-2010, 06:26 AM
The logo carries an ID attribute of "mysitelogo". With that said, the following CSS will hide it when the page is printed:


<style type="text/css">
@media print{
#mysitelogo{display:none}
}
</style>

enviroflash
07-27-2010, 06:45 AM
This is fab..works perfectly..I was heading down this track but as a designer am not an expert with code.

Thanks again DD!