Login  Register

pdf adjust margin-left margin-right of form

classic Classic list List threaded Threaded
4 messages Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

pdf adjust margin-left margin-right of form

mabu
93 posts
Hi,

Is it possible to adjust margin-left and margin-right of the form in the generated pdf.
I was able to adjust margin-top as follows:

@media print {
    .orbeon .navbar {
        margin-top: 200px;
    }
}

Martin
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: pdf adjust margin-left margin-right of form

Erik Bruchez
Administrator
6632 posts
Martin,

Try the following:

@page {
    margin-left: 200px;
    margin-right: 200px;
}

-Erik
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: pdf adjust margin-left margin-right of form

mabu
93 posts
Erik, thank you. It is working!
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: pdf adjust margin-left margin-right of form

Erik Bruchez
Administrator
6632 posts
Good, thanks for confirming! -Erik