Printing a particular area of a page

  • jrosworld
  • Newbie
  • Newbie
  • jrosworld
  • Posts: 10

Post 3+ Months Ago

On my website I'm keeping a blog. Currently when I print a page, the printout would include Google ads, and logos and buttons that I don't really want to appear on a printout. All the content I want to be printable is contained within one <div> tag. Is it possible to make it, so that if you go to print a page, only the content within this <div> tag is printed?
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • digitalMedia
  • a.k.a. dM
  • Genius
  • User avatar
  • Posts: 5149
  • Loc: SC-USA

Post 3+ Months Ago

You can do this with CSS.
http://alistapart.com/stories/goingtoprint/
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8411
  • Loc: USA

Post 3+ Months Ago

digitalMedia wrote:
You can do this with CSS.
http://alistapart.com/stories/goingtoprint/

I was going to suggest the CSS alternative as well :)

I agree with dM... that's is probably the best way to do.
  • righteous_trespasser
  • Scuffle
  • Genius
  • User avatar
  • Posts: 6230
  • Loc: South-Africa

Post 3+ Months Ago

I third that ...

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 51 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.