Forum OpenACS Q&A: Re: css @media print page break

Collapse
Posted by Tom Ayles on
Looks like you're mixing class and ID. In your CSS, you define #pagebreaker, which is the style rule for the element with id="pagebreaker", whereas you're using class="pagebreaker" in your HTML. Try replacing #pagebreaker with .pagebreaker (thus making it the rule for elements with class="pagebreaker") in your CSS.