Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
3748 Vistas

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?

Avatar
Descartar
Mejor respuesta

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

Avatar
Descartar
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 Mejor respuesta

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!

Avatar
Descartar