W3C home > Mailing lists > Public > www-html@w3.org > September 2003

iframe and dynamic height without scrollbar

From: Harry M. Aasterud <harry@aasterudweb.com>
Date: Tue, 16 Sep 2003 14:56:28 +0200
To: <www-html@w3.org>
Message-ID: <NEBBLFALALFNLFGGFEDIEEEMEDAA.harry@aasterudweb.com>

Hi,

Is it possible to use an iframe with a fixed width (f.ex. 75%) and a dynamic
height? Want I want to achieve is that when the page that is loaded into the
iframe, it will not be wider than I have specified, but the lenght needs to
be according to the page its content. Is it a page with 5 lines text, the
frame will be just big enough to display these 5 lines. Are we loading a
large document with 1000 lines, the Iframe height will be automaticly
adjusted.

If so, what is the correct syntax?

Kind regards,

Live support? http://www.aasterudweb.com/live

Aasterud WebCom        URL: aasterudweb.com
Harry M. Aasterud      Tel.: +47 / 48 046 256
Utvik                  Faks: +47 / 92 179 882
NO-7730 Beitstad
Norge - Norway

This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by
Aasterud WebCom for the presence of computer viruses.
Received on Tuesday, 16 September 2003 10:31:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:58 GMT