Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Inline Frame Does Not Load When Height and Width Match Image Size

Reply
Thread Tools

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

 
 
Neil Donovan
Guest
Posts: n/a
 
      06-26-2004
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


 
Reply With Quote
 
 
 
 
Whitecrest
Guest
Posts: n/a
 
      06-27-2004
In article <f0nDc.159214$3x.71594@attbi_s54>,
http://www.velocityreviews.com/forums/(E-Mail Removed) says...
> I appreciate any help you can give me.


Well the best advice I can give you is to vote for Bush...
--
Whitecrest Entertainment
www.whitecrestent.com
 
Reply With Quote
 
 
 
 
Toby A Inkster
Guest
Posts: n/a
 
      06-27-2004
Neil Donovan wrote:

> <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.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me - http://www.goddamn.co.uk/tobyink/?page=132

 
Reply With Quote
 
Neil Donovan
Guest
Posts: n/a
 
      06-27-2004
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" <(E-Mail Removed)> wrote in message
news(E-Mail Removed). ..
> Neil Donovan wrote:
>
> > <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.
>
> --
> Toby A Inkster BSc (Hons) ARCS
> Contact Me - http://www.goddamn.co.uk/tobyink/?page=132
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help! Fixed width table with a 100% width image in it is assuming theimages intrinsic size, although it does shrink the image satya.komatineni@gmail.com HTML 1 12-29-2007 08:32 PM
How to make change one frame size (width) when I clicked a button on anothoer frame? ABC ASP .Net 0 06-28-2006 03:37 AM
Textbox width scaling to width of data not width of page? AndrewF ASP .Net 1 10-10-2005 04:38 PM
CSS min-width, max-width, and min-height with display:inline Lois HTML 1 12-27-2004 03:03 AM
Setting <img> height to match <td> height MyndPhlyp Javascript 5 12-22-2003 05:30 AM



Advertisments