Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   HTML (http://www.velocityreviews.com/forums/f31-html.html)
-   -   iframe height (http://www.velocityreviews.com/forums/t157600-iframe-height.html)

The wee free man 04-10-2004 08:22 PM

iframe height
 
Hi,

How do i get an IFRAME's height to be so big it show the entire contents of
the text it contains? Without scrollbars appearing, so the user would need
to use the browser's scrollbars.

Thanks



Beauregard T. Shagnasty 04-10-2004 09:41 PM

Re: iframe height
 
Quoth the raven named The wee free man:

> How do i get an IFRAME's height to be so big it show the entire
> contents of the text it contains? Without scrollbars appearing, so
> the user would need to use the browser's scrollbars.


Remove the iframe? If you want to show all the text, why bother with
complicating the issue. Just display the text.

> Thanks


My pleasure.

--
-bts
-This space intentionally left blank.

Steve Pugh 04-10-2004 11:30 PM

Re: iframe height
 
"The wee free man" <vincent.lievens@pandora.be> wrote:

>How do i get an IFRAME's height to be so big it show the entire contents of
>the text it contains?


Impossible with HTML. Might be possible with JavaScript - (only if the
two pages are on the same domain, otherwise they're can't talk to each
other via JD) - calculate the height needed for the child page and use
that to amend the height of the iframe. But I'm not sure how feasible
it is in practice.

>Without scrollbars appearing, so the user would need
>to use the browser's scrollbars.


Are you sure that you want to use an iframe? Have you considered
server side includes or similar?

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <steve@pugh.net> <http://steve.pugh.net/>


All times are GMT. The time now is 09:18 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.