Flash ad banners messing up html

Hi, wondered if anyone could help as I have been troubled with this problem for ages and am running out of ideas so I am giving a huge points score for anyone who can solve it!! What it is whenever an advertiser shows a flash ad on one of my sites it resets all the borders to 0 making
the design all mess up. Gif ads are fine but it only happens with every flash ad. So I thought it must be my page so i made a really simple page with just the ad code and a logo (http://www.city-dining.com/test.asp) but
it also happens with this, it also happens over all ad networks so it isn't just one. I just can't work it out.

I have also tried putting it in a layer: (http://www.city-dining.com/test2.asp) but still no luck.

Any ideas?!
BatemanAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

BatemanAuthor Commented:
Sorry, a couple more comments, it seems to be faulty under IE for the PC, Opera (the only other browser I have) seems to be fine. Also if you get to the link and it shows a gif ad keep refreshing it!
0
DreamMasterCommented:
What is it supposed to look like then?

If I view the source and look at the page, I see not that many strange things...which "borders" are you talking about...there are no borders set as far as I can see in the page.

Please elaborate so I can help you better...

Thanks,
Max.
0
BatemanAuthor Commented:
Sorry, there should be a (roughtly) 10 pixels of 'air' around the edges, look at http://www.london-eating.co.uk which is working fine. At the mo with the flash ads everything is flush to the edges
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

DreamMasterCommented:
Hmmm...

I must say that I get GIF banners on both of your pages and the edges are "wrong" on both...

My guess is the advertiser has something in his/her jsfiles that makes this go wrong...as there is nothing wrong in the HTML source itsself...

Max.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
BatemanAuthor Commented:
I thought that however I have 3 advertising providers all using different ads and codes and it happens on all 3 and only with flash ads.
0
jayyu2kCommented:
I have refreshed 50 Times... .. let me see when will i get a FLASH Add.. all these are Gif..s

:P
0
BatemanAuthor Commented:
Bugger, I wonder if it is doing region targeting and only serving up flash to uk sites. Is there a way I can grab the ad and put it in so everyone can see?
0
DreamMasterCommented:
Me too...all I got was GIF banners...and they have the same problem as the Flash banners you mention....there is not the same space between the banner and the edge of the page on either....

Max.
0
DreamMasterCommented:
Just make a screenshot of it so we can actually see it happening on your screen...

Max.
0
BatemanAuthor Commented:
Will do, how can i post screenshots here, can i use html them in this comment box
0
jayyu2kCommented:
bateman upload the Screen Shots in any of the places and give us the URL..

Yes U Could Even.. Paste the htmlhere in the Comment Box.. but we prefer. . to see the SnapShot
0
jayyu2kCommented:
bateman upload the Screen Shots in any of the places and give us the URL..

Yes U Could Even.. Paste the htmlhere in the Comment Box.. but we prefer. . to see the SnapShot
0
BatemanAuthor Commented:
OK, the grabs are at

http://www.astwood.com/experts.asp
0
DreamMasterCommented:
Hmmm....

I'm going to have a look at that include file...

Could be that the Flash file has the settings to be at the top...but I doubt that...

Max.
0
DreamMasterCommented:
Damn...I can't...that sucks...

Well, in that case...

Just try and see what happens if you set margins higher then 10, try a strange value like 100 see what happens...if still it doesn't move, the calling of the Flash banner for some reason positions it at the top, thereby destroying your margins...

Max.
0
jayyu2kCommented:
BORDER !! ! ! !  thats  A MARGIN . I Got Confused all the time.. thinking.. of  BORDER of the image.

Jayanth

0
BatemanAuthor Commented:
Sorry! Always used that term!
0
DreamMasterCommented:
That's why I asked which borders he was talking about jayanth.. :)

Max.
0
jayyu2kCommented:
Check this out./.

www.JayanthOnline.com/movie1.html

I didnt get any problem.. when the Flash Movie was Placed.. OFCOURSE HARD CODED. Have u TRIED  .. that.. Does it still look the same?
0
BatemanAuthor Commented:
Just tried and that appears to be fine, http://www.city-dining.com/test4.asp

However I am confused, if this happens with only one ad supplier then I would think, OK it is something to do with their code, but it happens with 3 seperate suppliers, all showing a vast range of ads.
0
DreamMasterCommented:
Like I said, probably something to do with the flash parameters then....have you tried setting a very high page margin to see if it affects the page at all??

Max.
0
BatemanAuthor Commented:
Have done one but I can't get a flash ad to be served at the mo! Have turned off all ads but flash ones but it takes 10 mins or so to filter down.
0
DreamMasterCommented:
Good luck waiting then.. :)

Max.
0
webwomanCommented:
How do you get the ads? Do the Flash ads send you the HTML page they generate out of Flash? If so, that's the problem -- you'll have TWO body tags, and the last one will be what's used. If it's out of Flash, it will have no margins.
0
BatemanAuthor Commented:
I get some code from the ad companies such as:

<!-- VC active -->
<SCRIPT LANGUAGE="JavaScript">
<!--
// ValueParameters
ValueHost = "hs0237692";
ValueLoaded = false;
ValueID = "valueid";
ValueVersion = "1.1";
ValueWidth = 468;
ValueHeight = 60;
//-->
</SCRIPT>
<SCRIPT LANGUAGE="Javascript" SRC="http://oz.valueclick.com/jsmaster"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
<!--
if (ValueLoaded) ValueShowAd();
//-->
</SCRIPT>

or

<!-- Start of Adviva adServe v2.0 Banner Display Code -->
<SCRIPT LANGUAGE="JavaScript">
<!--
var timestamp = (new Date()).getTime();
document.write("<IFRAME SRC=\"http://ads.adviva.net/adserve.cgi?200&li=873&as=1&me=2&ui=" + timestamp + "\" WIDTH=\"468\" HEIGHT=\"60\" FRAMEBORDER=\"0\" BORDER=\"0\" MARGINWIDTH=\"0\" MARGINHEIGHT=\"0\" HSPACE=\"0\" VSPACE=\"0\" SCROLLING=\"NO\">");
document.write("<A HREF=\"http://ads.adviva.net/adclick.cgi?200&li=873&me=1&ui=" + timestamp + "\" TARGET=\"_blank\"><IMG SRC=\"http://ads.adviva.net/adserve.cgi?200&li=873&as=1&me=1&ui=" + timestamp + "\" BORDER=\"0\" WIDTH=\"468\" HEIGHT=\"60\"></A>");
document.write("</IFRAME>");
//-->
</SCRIPT>
0
BatemanAuthor Commented:
I am using the top code for the mo, haven't used the adviva for ages now but put it in to show
0
pleasenospamCommented:
I must be missing something, but why do you want to see the ads at all?
As you get better acquainted with your firewall, you can taylor it to reject ads.
Before deleting them, look at cookies.  Usually ads have a common format, including words like

click, ads

Make entries in your firewall program to reject these sites.
0
BatemanAuthor Commented:
Ads are wonderful things that get us to buy lots of lovely, useful products ;-)

Every site has gotta cover its hosting costs these days...
0
BatemanAuthor Commented:
hey, changing the marghins to 100 worked, however i can't obviosuly keep them that big!
0
DreamMasterCommented:
Hmmm...that means they are not being messed up by the flash banners...that illiminates that idea...and what happens when you set them to 0? It should make you have no space around anything...maybe the 10 it says it displays IS in fact the 10...and the other pages are wrong?

Max.
0
BatemanAuthor Commented:
DreamMaster, you say it can't be caused by the flash banners, however the problem only appears when flash banners are displayed, gif banners are fine...

If I set it to 0 then it is all flush to the borders.
0
DreamMasterCommented:
If it is all flush to the borders when it is set to 0, then there is nothing wrong with your margins...there is something else that's different from using either Flash or GIF...

It's just a little hard to tell what that could possibly be...I'll see if I can find anything...

Max.
0
BatemanAuthor Commented:
I have changed it to 15 at the mo, There is prob a magic number between 10 and 20 where is starts/stops working. It is just painfully slow because just my luck there aren't many flash ads running at the mo! (unlike last week where every ad was flash!)
0
DreamMasterCommented:
Yeah, I noticed...tried it myself and only get GIF banners..

If all of that fails...I suggest you just ask the people that create these banners (or make them available) how this can happen and what to do to solve it..they're bound to know a solution...

Max.
0
BatemanAuthor Commented:
Have tried that, the only thing they said was to put the margin code on, other than that they are stumped. It is also the fact that it happens with 3 seperate companies, fastclick, adviva and advertising.com
0
COBOLdinosaurCommented:
This question has been abandoned. I will make a recommendation to the
moderators on its resolution in a week or two. I appreciate any comments
that would help me to make a recommendation.

Cd&
0
COBOLdinosaurCommented:
It is time to clean this abandoned question up.  

I am putting it on a clean up list for CS.

<recommendation>
points to DreamMaster

</recommendation>

If anyone participating in the Q disagrees with the recommendation,
please leave a comment for the mods.

Cd&
0
BatemanAuthor Commented:
Only prob is that the question hasn't been answered properly. The margins are still not working :-(
0
DreamMasterCommented:
Well Bateman, you'll have to admit that it's kinda hard solving a question about margins on flash banners, when all you get is GIF banners...

Max.
0
BatemanAuthor Commented:
True, only prob I don't know what else to do! I think the flash ones must be a UK thing!
0
DreamMasterCommented:
Have you contacted the people that provide those banners about that? It could very well be that you are right, and if so...most of the time that is easily changed by setting a parameter, to make it visible for others as well...

Good luck and I hope you figure this out... or that I am able to HELP you figure this out, I tried...but as I said...it's hard to help when you can't see what's wrong...

Max.
0
BatemanAuthor Commented:
Hi Max, yeah I contacted all 3 of the ad providers who all are stumped over it! Appreciate all your help with this, I think I may as well hang up my boots and admit defeat though!!!
0
DreamMasterCommented:
Well, I think it's unacceptable that the banner providers themselves cannot think of any reason for this, your HTML was not exotic or something....they should have a solution, so I guess the best thing you can do, is let them implement it, if they are the banner providers they should be able to get you a working page. I'd say this is now more their problem then yours, just say you'll get your business elsewhere if they cannot get it right..

Max.
0
COBOLdinosaurCommented:
Bateman,

I understand that you are not happy that the problem still exists.  Clearly, the problem is related to the flash you are getting from the ad server, and there very is nothing that Max can do about that.  However he did work you through it, to narrow down the cause, and should be awarded the question.

Cd&
0
MoondancerCommented:
Question asked, significant guidance provided and helped you narrow the scope and go where you need to fix the problem.

Finalized by Moondancer - EE Moderator
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.