Hi,
I have a repeater with fields that contain large amounts of text. When converting the page to a PDF, if the text within a field overflows onto the next page, the PDF top and bottom margins I have set are ignored. Any suggestions on how to get the page margins respected? This is on Ebase v 4.5.4
Regards,
Edd
PDF page margins and repeaters
Moderators: Jon, Steve, Ian, Dave
-
- Ebase User
- Posts: 53
- Joined: Wed Jan 02, 2013 4:23 pm
- Location: Lyndhurst, Hampshire
- Contact:
-
- Moderator
- Posts: 416
- Joined: Fri Sep 07, 2007 3:44 pm
- Location: Sandy, UK
- Contact:
Re: PDF page margins and repeaters
Hi Edd,
You should be able to specify the margin using CSS3, you can put this in your HTML++ or in the stylesheet:
You can also wrap this in a @media wrapper to make sure if it is specific to print pages:
I hope this helps
Steve
You should be able to specify the margin using CSS3, you can put this in your HTML++ or in the stylesheet:
Code: Select all
<style>
@page {
margin-top : 60px;
margin-bottom : 60px;
}
</style>
You can also wrap this in a @media wrapper to make sure if it is specific to print pages:
Code: Select all
<style>
@media print
{
@page {
margin-top : 60px;
margin-bottom : 60px;
}
}
</style>
Steve
0 x
-
- Ebase User
- Posts: 53
- Joined: Wed Jan 02, 2013 4:23 pm
- Location: Lyndhurst, Hampshire
- Contact:
Who is online
Users browsing this forum: No registered users and 10 guests