I’m creating an epub file and am trying to understand an example css for an ebook:
@page {
margin-top: 0.8em;
margin-bottom: 0.8em;
}
What’s the @page rule? I can’t find it in my books or Google.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
@page describes how your document should behave on page-based media (like print). This should clear it up:
http://www.w3.org/TR/CSS21/page.html