Hacker News new | past | comments | ask | show | jobs | submit login

That's really neat. Is the CSS file readily available (for others to use), or something you'd prefer not to give out?

(I realize I could probably crawl through the source on your page and just take it, but that seems rude without asking.)




It's as simple as creating a style sheet, targeting items you don't want to print, or create a class such as .noprint, and hide the items with { display: none; }

You'd want to put that CSS in a separate file and include it like this:

<link rel="stylesheet" type="text/css" media="print" href="print.css" />

The important bit is the media="print". Look at mine all you like, nice of you to consider asking :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: