Problems with page breaks in Firefox

Posted: July 7, 2008 in Computing

A little note for all of my web development brethren:

If you’re having problems with page breaks in Firefox (but not in IE or Safari), take a close look at your containers. The “overflow” can affect the page breaks (I had an overflow:hidden on a div, and Firefox was trying to keep it all together). Firefox won’t even listen to the page-break-after/before statements if you have an overflow on the parent object. Changing that container to an overflow:visible in my print style sheet allowed Firefox to paginate properly.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s