My document has margins defined of a few centimeters. For all normal content, this margin should apply. However theres a logo that I would like to pull left, so render within this margin. Using "margin-left:-1cm" I'm able to pull an image to the left and all is fine. However the logo I want to display is (inline) SVG. This element will get pulled to the left, but the portion inside the margin (1 cm) will be clipped.
For an example see here:
http://imgur.com/a/n47Ve. I've replaced the SVG with text in this example. You can see the text being rendered, but the background of the div is clipped. The SVG has the same problem; the missing portion is roughly the same as the missing red background.
Another example with the SVG in place:
http://imgur.com/a/ieJ0A. The logo is a circle, and now only ~40% of the circle is shown.
I'm using an old version of EO.pdf as we've got quite a lot templates that would require migration as well. DLL reports version 4.0.60.2.
Quote:<div style="margin-left:-1cm;padding:.1cm;background-color: red">hello world</div>