Printing a form or page using CSS class.

Vishalneeraj-24503
Posted by Vishalneeraj-24503 under CSS 3 category on | Points: 40 | Views : 287
Write below code:-

<style media = "print">
.Noprint
{
display: none;
}
.Print
{
page-break-after: always;
}
</style>

<div class = "Noprint">
Hello
</div>
<div class = "Print">
Hello DotNet
</div>

Comments or Responses

Login to post response