|
| |
|
|
lpdds
Posts: 29 Joined: 10/6/2002 Status: offline
|
Hide a Print Button - 4/15/2007 10:56:34
I have a print button on a web page. Is there a way to hide this button when the page prints? Thanks.
|
|
|
|
lpdds
Posts: 29 Joined: 10/6/2002 Status: offline
|
RE: Hide a Print Button - 4/16/2007 8:39:13
Thanks. Something new to learn!
|
|
|
|
lpdds
Posts: 29 Joined: 10/6/2002 Status: offline
|
RE: Hide a Print Button - 4/16/2007 22:58:24
I was able to hide the print button using CSS, (thanks) however, the same print stylesheet would not hide the header and footer. I looked at the code on the page Frontpage created and noticed that there is no reference to a header and footer.
|
|
|
|
caz
Posts: 3626 Joined: 10/10/2001 From: Somewhere south of Chester, UK Status: offline
|
RE: Hide a Print Button - 4/17/2007 8:35:36
You really should not have multiple threads going, but as you are here I'll answer here. I tried to affect print headers and footers last year for a particular project and found out that it was impossible as yet. I am presuming that you are referring to the printer's headers, footers and margins which are under the user's control and normally shouldn't be over ridden. I got this far, quote:
"Note that these headers and footers, although specified by the browser and usually configurable through user preferences, are not part of the Web page itself and therefore are not controllable by CSS. In CSS terms, they fall outside the Page Box [CSS2.1 Section 13.2]." "In conclusion, if you want CSS-controlled print headers and footers, you'll need to wait until browsers start to offer experimental support for the CSS3 Paged Media Candidate Recommendation. It could be several years before IE offers support for this CSS3 module, if it ever does." CSS-discuss
_____________________________
Do not meddle in the affairs of cats, for they are subtle and will dance, or more on your keyboard. Cheshire cat. www.doracat.co.uk I remember when it took less than 4hrs to fly across the Atlantic.
|
|
|
|
lpdds
Posts: 29 Joined: 10/6/2002 Status: offline
|
RE: Hide a Print Button - 4/17/2007 10:57:33
Sorry about the multiple threads. I thought these were two separate issues. Thanks for the responses.
|
|
|
|
caz
Posts: 3626 Joined: 10/10/2001 From: Somewhere south of Chester, UK Status: offline
|
RE: Hide a Print Button - 4/17/2007 12:45:12
Actually I was referring to the printer's settings, not the web page "headers and footers", ie. things like urls , margins or page numbers and in the thread that I referenced above this was not covered. I am unaware of any other thread that the OP may have going, therefore did not see your reply.
_____________________________
Do not meddle in the affairs of cats, for they are subtle and will dance, or more on your keyboard. Cheshire cat. www.doracat.co.uk I remember when it took less than 4hrs to fly across the Atlantic.
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|