Welcome to WebmasterWorld Guest from 54.196.244.186

Forum Moderators: not2easy

Message Too Old, No Replies

Media Print!

     

angelk

3:57 pm on Mar 11, 2003 (gmt 0)

Inactive Member
Account Expired

 
 


Hi all,
I have a problem with a website i'm doing.
I made it with css and div, every div has got an id descripted in the style sheet.
Now i need, when the user push the print button on the website, that the print is different from what you see, that is, the print must include only some id in the stylesheet.

How can i do this?
Please help! it's urgent!

Thanks
Antonella

4:00 pm on Mar 11, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member blobfisk is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Feb 25, 2002
posts:3185
votes: 0


Welcome [webmasterworld.com] to WebmasterWorld, angelk!

You can use a stylesheet which will be used for print (media="print"). On this stylesheet, set the visibility of the div's you wish to hide to hidden or none.

<edit>Welcome Added</edit>

[edited by: BlobFisk at 4:05 pm (utc) on Mar. 11, 2003]

4:03 pm on Mar 11, 2003 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member lorax is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Mar 31, 2002
posts:7575
votes: 0


Hello angelk,
Welcome to WebmasterWorld.

You should look through these:

[webmasterworld.com...]

[webmasterworld.com...]

[webmasterworld.com...]