Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

how to hide buttion while print bsp page

hi experts

I am printing my bsp page , button also coming in print layout. i want to hide buttons in printout

plz suggest me how to do .


Former Member


you have to define the css class like

      <s t y l e type="text/css" media="print">
      </ s t y l e>

You can place this in your head section.
When you have to put a inline tag span around the button tag like.
          <s p a n class = "noPrint">
          <htmlb: button ..../>
        </ s p a n >

As you may try out, the button will be not printed

Best regards, Stefan

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question