Friday, 7 December 2012

Printing a Webpage Using CSS


Printing a Webpage Using CSS


CSS CODE:

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


HTML CODE:
 

    <div class="Noprint">
         I am not print;</div>
    <div class="Print">
         I will print;</div>

No comments:

Post a Comment

Thank You for Your Comments. We will get back to you soon.

back to top