Forum How do I...?

Auto Sizing of Header

forkjake
Is it possible to have the header margin automatically size itself? I'm placing content into the header using the prince-flow. The HTML is generated from a JSP. The JSP might add extra lines to the content in the prince-flow div in certain situations. As such, I'd like the header height to grow if the extra lines are present.

Thanks,

Frank
mikeday
This is not possible at the moment, page margins must be specified statically. Can the JSP that generates the content also generate the page margin size, or could you perhaps make the margin as big as it needs to be to hold the biggest header?
forkjake
Yes, I can have the JSP size the header margin as needed. I was just hoping that I didn't have to worry about it and it would just resize as needed automatically. However, the JSP solution won't be too much trouble.

Thanks for the reply.

Frank