News for hackers. Stuff that matters.
Re:Why are restaurant web sites so bad? by jat850 on Monday December 27, 2010 @10:45PM (#2044547)
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.)

Re:Why are restaurant web sites so bad? by ronnier on Monday December 27, 2010 @10:50PM (#2044558)
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 :)