tags:

views:

518

answers:

2

This is very interesting to me... This image displays perfectly well in Safari, but not at all in Firefox! Here's the relevant code:

<div id="ad">
    <p>Advertisment</p>
    <img src="/ADS/fakead1.gif" />
</div>

With CSS:

#ad{color: #666;}
#ad p{
    font-size: .5em;
    text-align: center;
    padding: 0;
    margin: 0;
}

#ad img{
    width: 9em;
    padding: .5em;
    margin: 0;
}

Why would this code cause Firefox to simply ignore the image? (Again, it works perfectly fine with Safari.)

+7  A: 

Wow, I'm not so smart...

AdBlock Plus is smarter that I would have thought! I'll need to change the div name to something less obvious than "ad" (!)

I should have known.

A word to the wise: if you want your add to get through, name the div in klingon.

stalepretzel
I think Firefox knows Klingon too ;)
Robert Gould
Hunting for a self-learner badge, eh? ^_^
fluffels
Is nobody going to comment on the hypocrisy of using AdBlock Plus, and then embedding ads on your own website, and further obfuscating the fact they are ads specifically to defeat AdBlock plus??? Why not use the obvious and allow users of AdBlock to block them?
Software Monkey
+2  A: 

it works for me here. its just your adblock i would say

joki