homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

Media Print!

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

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!




 4:00 pm on Mar 11, 2003 (gmt 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)

Hello angelk,
Welcome to WebmasterWorld.

You should look through these:




Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved