Re: [css-page | css-box model] margin-inside / margin-outside

[email protected] Wed, 29 Jun 2016 05:45:27 -0700
Newsgroups gmane.comp.web.css.general
Message-ID <[email protected]>

----- Original Message -----
From:
 "Christin_Götz_|_pagina_GmbH" <[email protected]>

To:
<[email protected]>
Cc:
"Tobias Fischer | pagina GmbH" <[email protected]>
Sent:
Wed, 29 Jun 2016 09:20:22 +0200
Subject:
[css-page | css-box model] margin-inside / margin-outside

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/ [1]
 * http://www.princexml.com/doc/properties/margin-outside/ [2]

 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] [3]

 pagina GmbH - Publikationstechnologien
 Herrenberger Straße 51
 D-72070 Tübingen
www.pagina-online.de [4]

 Handelsregister Stuttgart - HRB 380249
 Geschäftsführer: Tobias Ott 
Hello Christin,

That, to me, sounds like something that can currently be achieved
using the Paged Media Module.
See https://www.w3.org/TR/css3-page/#spread-pseudos and further.

Hope this helps.

Regards,

Alexander


Links:
------
[1] http://www.princexml.com/doc/properties/margin-inside/
[2] http://www.princexml.com/doc/properties/margin-outside/
[3] mailto:[email protected]
[4] http://www.pagina-online.de