You are viewing limited content. For full access, please sign in.

Question

Question

Print page not printing as displayed

asked on June 17, 2021

How do I remove the space at the top of my page? 

Here is how it is displayed after submission. This is how I would like it to print so it will all be on one page without reducing the size.

 

Here is the print window.

How can I get rid of this?

I've changed the height of the title and the forms description to zero. In the title field, I've also chosen not to display it. Note: The one you see is part of the image in a HTML field.

I've also played with all the margins, including hiding the headers, in my browser and several different printers.

I've tried coding some CSS, but to no avail. I'm not very experienced in this area so that may just be me.

Any ideas?

0 0

Replies

replied on June 17, 2021 Show version history

Here's some CSS that might work: 

.cf-formwrap {margin-top: 0px!important;}

It looks like the cf-formwrap class has default margins of 50 pixels.  This sets the margin on the top to 0 pixels instead, and the !important flag is needed to override the default CSS set by Forms.

0 0
replied on June 18, 2021

I tried a similar code yesterday, but nothing. Just tried again in case I had an error and still nothing.

Here are some details about the form:

The form consists of one HTML field. It displays a printer friendly image the printable version that was insisted upon by the department. We have a number of people who are not technologically savvy, and need to be able to print the form to fill it out, but access is a concern so we hope to use Forms.

I've set the actual title so it would not show by clicking this option in the field on the Layout page. The title you see is part of the image.

The margins must be narrow to ensure the image will print on one page only. Scaling does not help.

If you have any further ideas, I am open to hearing them.

 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.