No replies
markand
markand's picture
Offline
newbie
Last seen: 7 years 45 weeks ago
Timezone: GMT+5.5
Joined: 2012-04-13
Posts: 1
Points: 2

I want to print page numbers at the bottom of my web page when the page is under printing.
I applied following print css. but i failed.

<style type="text/css" media="print">
        @page
        {
            size: 7in 9.25in;
            margin: 27mm 16mm 27mm 16mm;
        }
        @page :left
        { @bottom-left{content:counter(page);}
 
    </style>

I have not added any property like
page-break-after: always;
any where on the page. Is this property required to print page numbers.