webcan
08-30-2005, 07:12 PM
HI! The link below is a link to one of your scripts scripts on dynamic drive. It has one problem or missing feature to over come a Firefox problem.
http://www.dynamicdrive.com/dynamicindex17/iframessi2.htm
If you put a the iframe in a table and run the page it will resize the content to fit the table but not the body of the page. All other browser such as IE, NS, Opera work well with the CSS height attribute set to 100% for the body tag.
I think this is s problem with Firefox/mozilla and not your script but I would like to know if there is a way to fix this without refreshing the page
NOTE: If you load the page in Firefox and then resize it in any way it will fix the body problem. So perhaps some way of resizing the main page +1 pixel and then -1 pixel could be a work around the firefox issue.
Let me know what you think.
Here is a URL to a test page. let it load the click the link at the upper left corner that says "Link". then scroll down and you will see that the body has not resized to fit the content. but if you try this in IE, NS, Opera the body will be flush with the content.
http://www.webcandesign.com/with_fl/Html/main_test_newnew.asp
NOTE: Try this. once you load the page in FF and click the link like I mentioned above. Do this, resize the browser either by manually using your mouse to expand and the back to the way it was. OR just click the standard Button on your browser and then click the it again to Maximize it again and you will see that it does rezise the body to content. this is why I am almost possitive that this is a bug in FF/Mozilla and that a possible work around might be to just resize it Via Javascript in order to force it to reset the body.
Ps. I have test this firefox problem with numerous scripts with the same outcome. And I have tested this with 3 other computers with different settings and browsers.
I also people to try it on forums and with the same result for firefox.
Paul
http://www.dynamicdrive.com/dynamicindex17/iframessi2.htm
If you put a the iframe in a table and run the page it will resize the content to fit the table but not the body of the page. All other browser such as IE, NS, Opera work well with the CSS height attribute set to 100% for the body tag.
I think this is s problem with Firefox/mozilla and not your script but I would like to know if there is a way to fix this without refreshing the page
NOTE: If you load the page in Firefox and then resize it in any way it will fix the body problem. So perhaps some way of resizing the main page +1 pixel and then -1 pixel could be a work around the firefox issue.
Let me know what you think.
Here is a URL to a test page. let it load the click the link at the upper left corner that says "Link". then scroll down and you will see that the body has not resized to fit the content. but if you try this in IE, NS, Opera the body will be flush with the content.
http://www.webcandesign.com/with_fl/Html/main_test_newnew.asp
NOTE: Try this. once you load the page in FF and click the link like I mentioned above. Do this, resize the browser either by manually using your mouse to expand and the back to the way it was. OR just click the standard Button on your browser and then click the it again to Maximize it again and you will see that it does rezise the body to content. this is why I am almost possitive that this is a bug in FF/Mozilla and that a possible work around might be to just resize it Via Javascript in order to force it to reset the body.
Ps. I have test this firefox problem with numerous scripts with the same outcome. And I have tested this with 3 other computers with different settings and browsers.
I also people to try it on forums and with the same result for firefox.
Paul