Forum Moderators: open

Message Too Old, No Replies

Problem with Height="240" in <iframe> tag

Height="240" in <iframe> tag

         

Mark Barrett

9:20 pm on Jun 4, 2005 (gmt 0)

10+ Year Member



Please can anyone throw a light on this for me.

If I use height="240" as an attribute for an iframe something is causing all the code to be dumped by my P.C. when I browse the page - the opening and closing <iframe> tags and all the code in between just disappear!.

A colleague can browse it perfectly on his stand alone P.C. - thus it is not a server issue

On my P.C. height="239" and height="241" both work fine.

The same logic applies no matter which browser I use - IE/Netscape etc.

Can anyone please put me out of my misery.

Mark

Span

10:04 pm on Jun 4, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm guessing '240' is one of the sizes something like Norton or another ad blocker simply deletes from your page..

Mark Barrett

10:37 pm on Jun 4, 2005 (gmt 0)

10+ Year Member



Span

Thank you very much for your prompt reply. It is a possibility I will now definitely pursue further. My colleague doesn't have Norton on his machine and I do so it is one area I was very curious about. But I had tried turning everything in Norton off and the problem didn't go away. So I thought I had discounted that as a cause.

Nevertheless I will definitely revisit that whole area.

Is that the way ad blockers work? - by simply looking for iframes with certain heights/widths and dumping the code?

Mark

Span

10:44 pm on Jun 4, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Ad blockers look for domain names, image names and sizes, iframes, file names, folder names.. here's an older thread with a list of what is blocked:
[webmasterworld.com ]

tedster

10:45 pm on Jun 4, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yes, it's one of several techiniques they use. And I agree, a third party app blocking the image is just about the only reason that comes to mind.

Mark Barrett

11:17 pm on Jun 4, 2005 (gmt 0)

10+ Year Member



Guys

You have just so made my day!

I thought it was just a height thing - but I realise now that it is a height/width combination thing.

The initial problem I had was with 120 X 240 and I sussed that 120 X 239 worked. Now I see that 119 X 240 works too!

I tried turning Norton off again and no change so doubtless I have some other ad blocker etc. running that I don't even know about.

But that is just a minor issue now I have understood the logic of what is happening.

I'd buy you a pint but it's past midnight here - cheers anyway!

Mark