Inline Frame Does Not Load When Height and Width Match Image Size

N

Neil Donovan

I just tried to create an inline frame on my personal web page. The frame
links to a .PHP page created by the Kerry campaign. The PHP page returns
(or should return) a simple web page with no viewable text and an image
exactly 468 pixels wide and 60 pixels in height. The image itself is a
clickable link to another web page.

My inline frame HTML code is:

<iframe src="http://www.johnkerry.com/feeds/468x60.php" name="468x60"
id="468x60" width="468" height="60" marginwidth="0" marginheight="0"
scrolling="no" frameborder="0" title="John Kerry"><a
href="http://www.johnkerry.com">John Kerry for President</a></iframe>

This does not work! However, if I change either the width parameter or the
height parameter by one of more pixels, it does work. For example, if I
were to change [width="468"] to [width="467"] (ignore the brackets, of
course), this iframe will work just fine. All different kinds of widths and
heights will work ...all of them EXCEPT [width="468"] AND [height="60"].

My personal web page is on an IIS 5 web server that I run.

What the heck is going on?

I appreciate any help you can give me.

Neil Donovan
Salem, Massachusetts USA
 
T

Toby A Inkster

Neil said:
<iframe src="http://www.johnkerry.com/feeds/468x60.php" name="468x60"
id="468x60" width="468" height="60" marginwidth="0" marginheight="0"
scrolling="no" frameborder="0" title="John Kerry"><a
href="http://www.johnkerry.com">John Kerry for President</a></iframe>

Firstly -- this will no solve your problem, but it's bugging me -- the
'id' attribute must start with a letter, not a number. Ditto the 'name'
attribute I think. e.g. use:

<iframe src="http://www.johnkerry.com/feeds/468x60.php" name="if468x60"
id="if468x60" width="468" height="60" marginwidth="0" marginheight="0"
scrolling="no" frameborder="0" title="John Kerry"><a
href="http://www.johnkerry.com">John Kerry for President</a></iframe>

Now... on to the solution...
This does not work! However, if I change either the width parameter or the
height parameter by one of more pixels, it does work. For example, if I
were to change [width="468"] to [width="467"] (ignore the brackets, of
course), this iframe will work just fine. All different kinds of widths and
heights will work ...all of them EXCEPT [width="468"] AND [height="60"].

Do you have any ad-blocking software installed on your desktop computer?
Often ad-blocking software looks at heights and widths as there are
certain "standard" ad sizes -- 468x60 is one of them.
 
N

Neil Donovan

Toby,

My goodness. I think you're absolutely right! I just created a web page
and then added an inline frame on my home page to access that page; I
specified a size of exactly 648x60 and it was indeed blocked - blocked by my
Norton Internet Security software. Wow.

Thank you,

Neil Donovan
Salem, Massachusetts USA

Toby A Inkster said:
Neil said:
<iframe src="http://www.johnkerry.com/feeds/468x60.php" name="468x60"
id="468x60" width="468" height="60" marginwidth="0" marginheight="0"
scrolling="no" frameborder="0" title="John Kerry"><a
href="http://www.johnkerry.com">John Kerry for President</a></iframe>

Firstly -- this will no solve your problem, but it's bugging me -- the
'id' attribute must start with a letter, not a number. Ditto the 'name'
attribute I think. e.g. use:

<iframe src="http://www.johnkerry.com/feeds/468x60.php" name="if468x60"
id="if468x60" width="468" height="60" marginwidth="0" marginheight="0"
scrolling="no" frameborder="0" title="John Kerry"><a
href="http://www.johnkerry.com">John Kerry for President</a></iframe>

Now... on to the solution...
This does not work! However, if I change either the width parameter or the
height parameter by one of more pixels, it does work. For example, if I
were to change [width="468"] to [width="467"] (ignore the brackets, of
course), this iframe will work just fine. All different kinds of widths and
heights will work ...all of them EXCEPT [width="468"] AND [height="60"].

Do you have any ad-blocking software installed on your desktop computer?
Often ad-blocking software looks at heights and widths as there are
certain "standard" ad sizes -- 468x60 is one of them.
 

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

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,521
Members
44,995
Latest member
PinupduzSap

Latest Threads

Top