Forum How do I...?

absolute position through pages

logig90
At the example, I want to place element at second page by asolute positioning, but it become disapear after page edges. Can I do this or it impossible? Or there are alternative ways?
  1. index2.html0.2 kB
    source
  2. index2.pdf8.0 kB
    result

Edited by logig90

mikeday
Absolute positioning can only be used to move an element around on the page where it would appear in the normal document order.

You can use a page selector to put a margin box on a specific page:
@page:nth(2) {
    @bottom-left {
        content: "Hello"
    }
}

(This assumes that the document is already at least two pages long).

There may be other ways to move content around, depending on exactly what kind of layout you would like to create.
logig90
Thanks