Fixing a maxheight issue for Safari
July 1, 2008 10:28 AM
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?
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?
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
posted by drezdn at 10:57 AM on July 1, 2008
This thread is closed to new comments.
posted by Memo at 10:41 AM on July 1, 2008