Forum Moderators: not2easy

Message Too Old, No Replies

Hiding a button when a form is printed

I need to hide my form buttons when my form is printed

         

Pennie

8:57 pm on Sep 3, 2003 (gmt 0)

10+ Year Member



Does anyone have an example of how to hide a button when a form is in print mode with js and css?

pennie

Nick_W

8:59 pm on Sep 3, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member




@media print {

.mybutton { display: none; }

}

Will only work on browsers that understand that rule though Pennie.

Nick

Pennie

9:04 pm on Sep 3, 2003 (gmt 0)

10+ Year Member



Thanks Nick,

A Lotus "Hide When" doesn't work for the web.

I only have to please IE... I'm spoiled on this project.

...pennie