Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
3759 Vizualizări

The main content of my webkit reports gets rendered in such a way, that it vanishes behind the body of the header part. I can include a margin-top style attribute on the body tag of the content part such that it gets pushed down enough that the header is fully visible. The problem is that this doesn't work if the report spans multiple pages. In that case, the content of the second page is hidden behind the header on the second page. Any ideas how to fix this?

Imagine profil
Abandonează
Cel mai bun răspuns

reduce the size of your top-margin (header), then just put a couple br tag on your webkit report body.

Imagine profil
Abandonează
Autor

The solution with the br-tags works ok but only for the first page. When there are too many lines in the table (for example purchase order lines), then the table gets split and the second half vanishes behind the reprinted header on the second page. That's my main problem since I can't solve it with br-tags or similar approaches.

Autor Cel mai bun răspuns

Ok I think I finally solved it. I defined

html, body {

    height: 100%;
}

in my css for whatever reason I can't remember. This completely messed up the way those elements got put together (the top-margin also pushed down the header). Thanks anyway!

Imagine profil
Abandonează