css3 - Print Email that will Fit in a Single Page -


i want print email , fit 1 page.
want remove header , footer.
want via @media print

is possible?

solution

you can achieve adding class display:none; elements wish hide.

@media print {     .noprint {         display:none;     } }  


support

please aware has limited support. enter image description here

you can find more information here - https://www.campaignmonitor.com/blog/email-marketing/2006/06/can-i-include-a-print-styleshe/ although rather old article things haven't moved on great deal.


Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -