You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've expected that the images with position: absolute | fixed won't be affected by the @page margins.
According to the specification, absolute and fixed elements are positioned relatively to the page area, which doesn’t include page margins.
If you want to put absolutely positioned images in the margins, you can use negative values for top/bottom/left/right. You can also set them as background of page margin boxes, or as background of the page (#1993 may be interesting to read, the fix is not included yet in a released version.)
Hi, ``````
I have images with absolute position in a div in order to have free move with them, also I have the following style in
@ page
:I've expected that the images with
position: absolute | fixed
won't be affected by the@page
margins.I try with
and it fixed in a certain way, because using that method, it doesn't apply the margin, but the images appear in all the pages.
There's a way to have the images with 'position: absolute' without affection of the
@page
margin?What I expect:
The result:
The text was updated successfully, but these errors were encountered: