javascript - Printing a page: Content only on 2nd Page? -



javascript - Printing a page: Content only on 2nd Page? -

i need print web content (html/css). 1 of things need print stuff (page number, title of doc) on every page first.

is there way create div (or other element) appear on pages >=2?

i not have manual page-breaks

jquery may used

the css @page directive :first apply css first page of html print

i give illustration #header , #footer might hep you

@media print { @page { /* styles every page other first page */ #header { position: fixed; display: block; top: 0; } #footer { position: fixed; display: block; bottom: 0; } } @page :first { /* override styles first page */ #header { display: none; } #footer { display: none; } } }

javascript jquery html css printing

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -