Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
670
How not to print the toolbar
posted

Is there a way to have the tool bar not print or not print the item text when the user attempts to print the current web form using the browser web page commands? I have noticed that the toolbar does not render a picture, but does reserve space and prints the item text.

  • 19308
    posted

    There's a CSS trick for this.  You can use special css classes for media=print.  This can be done inline, or through a separate stylesheet.  For instance, if you want to hide the toolbar during printing you can set the toolbar's cssclass to "noprint" and define the following in your page

    <style type="text/css">

    @media=print

    {

    .noprint
    { display:none;}

    }
    </style>