Discussion Locked

Supress Header in ASP

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

How do you supress the header and footer when providing a "printer friiendly" version of a web page.

Craig

1 reply

by jay eckles

One way is to use the CSS Level 2 media rule, specifically, create a media print rule. Then you can use the stylesheet to hide certain elements of the page or change colors or whatever only when the page is being printed.

See the W3C for detailson CSS2.

Jay
www.jayeckles.com

This discussion is closed to new replies.