Sunday, May 26, 2013

@page print css with page break css

Here I share @page css  and @media css   for print page with page break.



<style style="text/css">
        
                @media print
                {
                   .pagebreak { height:0; page-break-after: always; margin:0; border-top:none; }
                   body { margin: 0cm; }
                 }

    
            @page 
            {
                size: landscape;   /* auto is the initial value */
                /* this affects the margin in the printer settings */
                margin: 5mm 0mm 0mm 0mm; 
            }     
    
    
   </style>

Then apply page break css 


If you are searching life partner. your searching end with kpmarriage.com. now kpmarriage.com offer free matrimonial website which offer free message, free chat, free view contact information. so register here : kpmarriage.com- Free matrimonial website