I make print layouts with HTML and CSS with the AntennaHouse renderer.
The box in my content should have a left margin of 20pt on the left pages and 10pt on the right pages.
/* on left hand pages */
margin-left: 20pt;
margin-right: 10pt;
/* on right hand pages */
margin-left: 10pt;
margin-right: 20pt;
Thus, the outer edge of the field should be 20pt, and the inner field 10pt. Basically I am looking for a syntax (which does not exist):
/* pseudo code */
margin-outside: 20pt;
margin-inside: 10pt;
Does anyone have an idea how to do this? And if so, is there an equivalent for filling inside / out?
XSL-FO solutions are welcome, since AntennaHouse has equivalent functions for rendering FO and CSS ...
source
share