This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > HTML authoring > May 2005 > iFrame Problems





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author iFrame Problems
Jamie

2005-05-19, 11:33 pm

Hi there,

I am having a problem with the below page.

http://jamieallison.net/cgi-bin/pho...+Prom+Portraits

on the left hand side i have put an iframe but it doesn't seem to want to
fill the full table cell.

I have switched scrol bars on in the iframe so you can see how much of the
page is not being displayed.

I have also put some random text into the same cell so that you can see the
cell is actually the full length of the page.

When I take out the random text the iFrame stays exactly the same height.

Anyone any ideas how to make the iFrame stretch to the full length of the
page?

<html>
<head>
<title>The Picture Gallery</title>
<link rel="stylesheet" type="text/css" href="../../../main.css">
</head>
<body>

<table width=99%>
<tr><td>
<center><img src ="../../../images/title.gif" width="65%"><p>
E-Mail: <a
href="mailto:robert@thepicturegallery.co.uk">robert@thepicturegallery.co.uk</a><p></center>
</td></tr>
<tr><td>
<table width=100%>
<tr><td valign="top" width=20%>
<iframe id="LinkFrane" name="LinkFrame" frameborder="0" scrolling="auto"
src="../../../links.html">
Your browser does not support iframes.
</iframe>
random text<P>
random text<P>
random text<P>
random text<P>
random text<P>
random text<P>
random text<P>
random text<P>
random text<P>
random text<P>
random text<P>
random text<P>
random text<P>
random text<P>
</td><td>
<table width=100% cellspacing=1 cellpadding=4>
<tr><td align="right">

<!--content-->

</td></tr>
</table>
</td></tr>
</table>
</tr></td>
</table>
</body>
</html>


--
Regards
Jamie Allison
Remove YOURHEAD to reply

http://www.thepicturegallery.co.uk


Amos E Wolfe

2005-05-20, 8:20 am

"Jamie" wrote:
>
> I am having a problem with the below page.
> http://jamieallison.net/cgi-bin/pho...+Prom+Portraits
> on the left hand side i have put an iframe but it doesn't seem to want to
> fill the full table cell.
>
> I have switched scrol bars on in the iframe so you can see how much of the
> page is not being displayed.
>


iFrames can cause no end of problems, are not fully supported by many
browsers - see what kind of problems there are with "normal" frames. Try
using phph if your server supports it. Basically the .html file is renamed
..php and the PHP script is just inserted like an extension to the html.

Try looking for "php include" on Google - here's a couple to start you off.

http://www.w3schools.com/php/php_includes.asp

http://www.hardcoder.com/scripting/...clude_files.php

http://www.tizag.com/phpT/include.php

-=# Amos E Wolfe #=-


Safalra

2005-05-20, 8:20 am

Amos E Wolfe wrote:
> "Jamie" wrote:
http://jamieallison.net/cgi-bin/pho...+Prom+Portraits[color=darkred]
want to[color=darkred]
of the[color=darkred]
>
> iFrames can cause no end of problems, are not fully supported by many


> browsers - see what kind of problems there are with "normal" frames.

Try
> using phph if your server supports it. Basically the .html file is

renamed
> .php and the PHP script is just inserted like an extension to the

html.

SHTML is probably easier if he only wants to do a simple include - and
it's supported by more web hosts (no worries about security).

--
Safalra (Stephen Morley)
http://www.safalra.com/hypertext/

Jamie

2005-05-20, 7:45 pm

Thanks,

I have not used an shtml include on the page which works well.

Regards

Jamie

"Safalra" <usenet@safalra.com> wrote in message
news:1116587528.098876.99140@z14g2000cwz.googlegroups.com...
> Amos E Wolfe wrote:
> http://jamieallison.net/cgi-bin/pho...+Prom+Portraits
> want to
> of the
>
> Try
> renamed
> html.
>
> SHTML is probably easier if he only wants to do a simple include - and
> it's supported by more web hosts (no worries about security).
>
> --
> Safalra (Stephen Morley)
> http://www.safalra.com/hypertext/
>



Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews