PDA

View Full Version : Dynamic Iframes add upp space



thomasjojo
08-08-2006, 11:31 AM
1) Script Title: Iframe SSI script II

2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex17/iframessi2.htm

3) Describe problem:
I have several iframes in an html, they works well, and resides on an external server, ( but in same master domain.. ) They rezise as requested, but add up more and more space when browsing inside the iframe, instead of subtract space when iframes contains less content. any idea of how to fix?

best regards,
Thomas J

screenshots, ...
http://www.taon.no/filemaker/iframes.gif
http://www.taon.no/filemaker/iframes2.gif

jscheuer1
08-08-2006, 03:26 PM
Your example images are currently '404 file not found'. The problem that you are describing, if not related to perceived DNS differences between the top and content pages by the browser which can only know what the server tells it the DNS is and cannot reconcile different looking DNS's that may reside on the same server. If it isn't that, it is a layout problem. Avoid tables. When a table contains one of these resizing iframes, it often will not give up its added real estate even when the iframe inside it contracts. Particularly to be avoided is any container for a resizable iframe that has its height set to 100%.

thomasjojo
08-08-2006, 05:58 PM
hi
sorry, forgott a s in the iframes.gif name. They work now.

The problem is, yes, NOT related to the DNS , but to the nature of the HTML pages. My pages IS buildt in a Notes environment, and the placement of the iframes is (a pity) unfortunately inside a table in one or other way. (a intranet in my company, I am not able to rebuild at this moment)

Thanks for the advice, I will test this in my own server without any tables, only css (as I prefere) and post back

the results. :

sure it is.. http://www.taon.no/filemaker/inet/
thanks for answer.

brgds,
Thomas J