iframes Question

T

Tom

Hello guys.

I'm using an iFrame at the moment (think they're great) at
www.tom-bennett.com for the caption comp on the left top.

As you can see it has no border, but i was wondering can u customise the
height/width of them to 100%, so it just expands to the size of its
containing htm file??

Cheers guys.

Tom.
 
J

Jim Buyens

-----Original Message-----
Hello guys.
Howdy.

I'm using an iFrame at the moment (think they're great) at
www.tom-bennett.com for the caption comp on the left top.

As you can see it has no border, but i was wondering can
u customise the height/width of them to 100%, so it just
expands to the size of its containing htm file??

Yes. Right-click the Iframe, choose Inline Frame
Properties, and set the width to 100%.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 
T

Tom

Jim Buyens wrote:
::: -----Original Message-----
::: Hello guys.
::
:: Howdy.
::
::: I'm using an iFrame at the moment (think they're great) at
::: www.tom-bennett.com for the caption comp on the left top.
:::
::: As you can see it has no border, but i was wondering can
::: u customise the height/width of them to 100%, so it just
::: expands to the size of its containing htm file??
::
:: Yes. Right-click the Iframe, choose Inline Frame
:: Properties, and set the width to 100%.
::
:: Jim Buyens
:: Microsoft FrontPage MVP
:: http://www.interlacken.com
:: Author of:
:: *----------------------------------------------------
::: \---------------------------------------------------
:::: Microsoft Office FrontPage 2003 Inside Out
:::: ---------------------------------------------------
:::: Web Database Development Step by Step .NET Edition
:::: Microsoft FrontPage Version 2002 Inside Out
:::: Faster Smarter Beginning Programming
:::: (All from Microsoft Press)
::: /---------------------------------------------------
:: *----------------------------------------------------

Done that also to the height but it seems the ifram wont expand to fit the
height of its containing url?
 
T

Thomas A. Rowe

Correct, the Iframe does not auto-expand. The content must adjust to fit or
you have to size the IFrame to the correct size.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
J

Jim Buyens

Tom said:
Done that also to the height but it seems the ifram wont expand to fit the
height of its containing url?

Exactly. A width of 100% makes the iframe consume as much as possible
of the surrounding Web page. The iframe doesn't adjust to the width of
its contents.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 
S

Sinan [XP-Pro]

Jim,

Does your excellent book 'FP 2002 Inside Out' have a iframe section? Or this
is new for FP2003?

Thanks,

Sinan
 
J

Jim Buyens

Yes, consult pp. 529-531 in the FP2002 book, or pp. 425-428 in the FP2003 one.

This feature is basically the same in both software versions.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 
Top