Adding inline frame to a table cell causes tripple height in Preview

  • Thread starter martin weinberger
  • Start date
M

martin weinberger

Hi,

I added an inline frame to a cell in a table, specifying 100% for the width
and height. In normal mode the inline frame looks perfect, just the way that
I would expect. In the preview pane as in the actual display on a browser
the cell displays 3-times bigger than it is supposed to. Any thoughts? I've
copied the HTML source for the table, if that helps.

Thanks in advance,

--
Martin A. Weinberger
ButterflyVista
http://www.butterflyvista.com/
(when responding to me by email, remove the "X_" from the beginning)

.............................................................................
.............................................................................
.............................................................................
.......
<body stylesrc="index.htm">
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse:
collapse" width="735" id="AutoNumber1" height="1" bgcolor="#FFFFFF">
<tr>
<td width="735" height="23" bgcolor="#000066" align="center">
<table border="0" cellpadding="0" cellspacing="0"
style="border-collapse: collapse" bordercolor="#111111" width="100%"
id="AutoNumber7" height="49">
<tr>
<td width="28%" height="100%" bgcolor="#FFFFFF">
</td>
<td width="72%" height="100%" bgcolor="#FFFFFF">
<p align="left">
<iframe name="fraBannerAd" width="100%" height="100%"
marginwidth="2" marginheight="2" scrolling="no" border="0" frameborder="0"
src="BannerAd.htm">
Your browser does not support inline frames or is currently
configured not to display inline frames.</iframe></td>
</tr>
</table>
</td>
</tr>
.............................................................................
.............................................................................
.............................................................................
.......
 
J

Jim Buyens

-----Original Message-----
I added an inline frame to a cell in a table, specifying
100% for the width and height. In normal mode the inline
frame looks perfect, just the way that I would expect. In
the preview pane as in the actual display on a browser
the cell displays 3-times bigger than it is supposed to.
Any thoughts? I've copied the HTML source for the table,
if that helps.

Give the inline frame an exact height in pixels.

Also, beware that not all browsers can display inline
frames.

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

martin weinberger

Hi Jim,

That worked!!!!!!!!! Yippee! Why didn't the 100% relative height to the cell
work?
 
J

Jim Buyens

martin weinberger said:
Hi Jim,

That worked!!!!!!!!! Yippee! Why didn't the 100% relative height to the cell
work?

The inline frame has a default height, and the cell apparently sized
itself to the iframe before the iframe sized itself to the cell.

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top