[css-page | css-box model] margin-inside / margin-outside
Christin Götz | pagina GmbH <[email protected]> Wed, 29 Jun 2016 09:20:22 +0200
| Newsgroups | gmane.comp.web.css.general |
|---|---|
| Message-ID | <[email protected]> |
Hei, I’m working in book industry and my daily business is to set up CSS for paged media. I have come across some shortcomings with the CSS paged media specs recently and want to let you know about this: To control the "outer" margin for an element on a page (depending on whether the element is rendered on a right or left page), it would be great if the "margin" property could be extended by two new properties "margin-inside" and "margin-outside". Prince XML already implemented this with the following properties: * http://www.princexml.com/doc/properties/margin-inside/ * http://www.princexml.com/doc/properties/margin-outside/ An implementation of such property would make it easier to set up a paged media CSS for different rendering engines. At the moment you need different CSS settings for each render engine to achieve the described formatting. Kind regards, Christin -- Christin Götz Content Engineer Telefon: (07071) 9876-17 Telefax: (07071) 9876-22 E-Mail: [email protected] pagina GmbH - Publikationstechnologien Herrenberger Straße 51 D-72070 Tübingen www.pagina-online.de Handelsregister Stuttgart - HRB 380249 Geschäftsführer: Tobias Ott