Fixing a maxheight issue for Safari
July 1, 2008 10:28 AM   Subscribe

Getting the correct size of a dynamic website page in Safari?

On one dynamically generated page on a website a built, Safari can't accurately measure the bottom of the page and used to end up cutting off content.

I made a kludge to solve the problem by setting the padding-bottom of the page to large enough number to include all of the content when the user is loading the page in Safari.

I've manually changed the padding px setting to keep it roughly inline with the bottom of the content, but soon I won't be able to do that anymore.

Is there a better way (using either CSS, Javascript or PHP) for me to solve the issue?
posted by drezdn to Computers & Internet (3 answers total)
Are you using floats? Have you cleared them?
posted by Memo at 10:41 AM on July 1, 2008

IIRC, I didn't use any floats on the page, everything is positioned either absolutely or relatively.
posted by drezdn at 10:57 AM on July 1, 2008

That is a cool site though, thanks Memo!
posted by drezdn at 10:59 AM on July 1, 2008

« Older I need my comic fix: TTS.   |   Best way to launch new and improved web site? Newer »
This thread is closed to new comments.