Hello! I am formatting documents using Prince, and some of these documents need to have a title page. This page contains various block elements, each of which is supposed to be at a certain height in the page.
Absolute units, or units relative to the font, cannot work because the elements (and also the page) can vary in height. I know CSS3 viewports can do this (I can tell the user agent to place the element at 30% of the height of the viewport, which in the case of Prince is the height of the page), but Prince does not support them, and I’m sure supporting them is too much work for the Prince team at the moment.
I can use float:bottom for elements that need to be at the bottom of the page, but there is no float:two-thirds-of-the-page or float:one-quarter-of-the-page.
Absolute units, or units relative to the font, cannot work because the elements (and also the page) can vary in height. I know CSS3 viewports can do this (I can tell the user agent to place the element at 30% of the height of the viewport, which in the case of Prince is the height of the page), but Prince does not support them, and I’m sure supporting them is too much work for the Prince team at the moment.
I can use float:bottom for elements that need to be at the bottom of the page, but there is no float:two-thirds-of-the-page or float:one-quarter-of-the-page.