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

Discussion in 'HTML' started by Neil Donovan, Jun 26, 2004.

  1. Neil Donovan

    Neil Donovan Guest

    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
     
    Neil Donovan, Jun 26, 2004
    #1
    1. Advertising

  2. Neil Donovan

    Whitecrest Guest

    In article <f0nDc.159214$3x.71594@attbi_s54>,
    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
     
    Whitecrest, Jun 27, 2004
    #2
    1. Advertising

  3. 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
     
    Toby A Inkster, Jun 27, 2004
    #3
  4. Neil Donovan

    Neil Donovan Guest

    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" <> wrote in message
    news:p...
    > 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
    >
     
    Neil Donovan, Jun 27, 2004
    #4
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Lois
    Replies:
    1
    Views:
    3,260
    Ryan Stewart
    Dec 27, 2004
  2. ABC
    Replies:
    0
    Views:
    596
  3. Replies:
    9
    Views:
    4,283
    J.O. Aho
    Feb 13, 2007
  4. Replies:
    1
    Views:
    742
    Beauregard T. Shagnasty
    Dec 29, 2007
  5. MyndPhlyp

    Setting <img> height to match <td> height

    MyndPhlyp, Dec 21, 2003, in forum: Javascript
    Replies:
    5
    Views:
    194
    MyndPhlyp
    Dec 22, 2003
Loading...

Share This Page