|
Posted by morgan goose on May 11, 2005, 10:22 am
Please log in for more thread options
SF RVN wrote:
> Grant Smith - eNVENT Technologies wrote:
>
> > Well.... I have had no luck with this either. I've tried using both
> CSS
> > and <iframe> attributes to set the height to percentages of the
table
>
> > cell. I've also tried using various tweaks to size it via margins
> (CSS).
> > Nothing has worked. I'm not sure that it is possible. If I am
wrong,
> > though, I'd love the answer as well...
> >
> > --
> > Grant Smith
> > A+, Net+, MCP x 2
> >
> > eNVENT Technologies - www.envent-tech.com
>
> One website I use for a reference states that the value for the
height
> attribute (of an iFrame) can only be given in 'px' -- that may
explain
> why the iFrame "disappears" when I used height="100%". And I did
find
> some code that claims to adjust the iFrame height... but I've not
been
> able to get it to work. Another website states that dynamic
adjustment
> of the iFrame is possible --- using code to get (and pass) the height
> of the 'loaded' document to the iFrame. Whew... seems like a lot of
> work -- and beyond my capabilities.
>
> The only way to work around (ignore!) the issue is to specify a
height
> for the iFrame (pixels only!) that is long enough to accommodate all
> possible loaded pages. It works... you just have to ignore the
extra,
> blank turf at the bottom of the parent page.
>
> I hate to give up on this. I like the 'feel' and the layout. But I
> see no 'user friendly' solution. Anyone run across a 'how to' in
your
> travels??
>
> gary b
I've had that same trouble i believe when i started this page, but this
is my iframe section that i got to work. Hopefully it is of some use.
<td width="600" height="100%" rowspan="4" align="left" valign="top">
<iframe src="content.html" name="center" width="100%"
height="100%" frameborder="0" allowtransparency="true">
<!-- Alternate content for non-supporting browsers -->
<p>Oops your browser doesn't like Inline Frames sorry...</p>
</iframe>
</td>
|