0

I've created a PHP web form which when all the data is present has 2 submit buttons (Continue and Print). Continue calculates details based on the entered information and displays it on the page. Print performs the same calculations, but then creates a PDF in a new window.

When I click Print the original page still loads (which is fine) but the styling is altered.

To see what I mean head to this page and for speed enter "1" in all text boxes except Position (which must be text). After you've clicked Continue, click Print to generate a PDF, then look back at the original web page to see altered styling.

Any ideas would be useful.

Thanks,

Adrian

1 Answer 1

2

Assuming you mean the tables overrunning the footer, get rid of the height: 100%; on #prodselector_text, solves the issue for me.

Sign up to request clarification or add additional context in comments.

1 Comment

solves on me too.@adrian when you set some height/weight of a div to percentage-based value. The parent div must have explicit height/weight.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.