FRIHOSTFORUMSSEARCHFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

strange rectangle around banner on other server

 


jasperlevink
Hello folks!
Something odd happened. I moved my site to another server. But magically a rectangle around the banner on the right top appears on mouseover. (only in IE)

This was not the case on the other server. What happened?
How can this happen and how can I get rid of this triangle?

Thanks.
wumingsden
jasperlevink wrote:
Hello folks!
Something odd happened. I moved my site to another server. But magically a rectangle around the banner on the right top appears on mouseover. (only in IE)

This was not the case on the other server. What happened?
How can this happen and how can I get rid of this triangle?

Thanks.


Provide the link to the page with page source and we may be able to tell you. A possibilty is the hosting company places this rectangle images on all pages although this is jsut a wild guess. A link would really come in useful otherwise no-one can help you.
jasperlevink
im sorry i forgot:

www.managementplein.nl

thanks for your help!
riv
I think it's more of a browser problem than a server problem. Servers do not modify the code you upload, to my knowledge.

Adding style="border: 0;" to the img element which references the image for the banner would probably fix the problem.
sonam
I also think problem is in html code. Just simpe insert your border definition.

Code:
<a href='http://www.razenberg.nl' target='_blank'><img  class='imagelink2' src='http://www.managementplein.nl/banners/234x60razenberg6.gif' border='0'></a>



If is not working try to remove class or try to change single quotes with double quotes.

Sonam
jasperlevink
I used this code for the flash object. Still the rectangle...

Code:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="179" height="278" id="razenberg-flashbanner" align="middle" border="0">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="banners/razenberg-flashbanner.swf" />
<param name="menu" value="false" />
<param name="quality" value="high" />
<param name="scale" value="noborder" />
<param name="bgcolor" value="#ffdab5" />
<embed src="banners/razenberg-flashbanner.swf" menu="false" quality="high" scale="noborder" bgcolor="#ffdab5" width="179" height="278" name="razenberg-flashbanner" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" border="0" />
</object>


Grtz.
jasperlevink
I've found the solution.

A copy in DUTCH (English abstract BELOW):

1. Open de html-pagina waar je problemen mee ondervindt.

2. Onder de code </OBJECT> (van bijvoorbeeld je Flash-menu) typ je:

<script type="text/javascript" src="http://www.jouwdomeinnaam.com/ieupdate.js"></script>

(zorg ervoor dat je je eigen domeinnaam gebruikt) en sla je bestand op.

3. Open Kladblok/Notepad en plak hierin de volgende code:

theObjects = document.getElementsByTagName("object");
for (var i = 0; i < theObjects.length; i++) {
theObjects[i].outerHTML = theObjects[i].outerHTML;
}

4. Sla dit bestand op als ieupdate.js

5. Upload beide bestanden naar je webserver. Zorg ervoor dat ieupdate.js in de root directory staat (bijvoorbeeld httpdocs).


ENGLISH ABSTRACT

Create a file ieupdat.js:
theObjects = document.getElementsByTagName("object");
for (var i = 0; i < theObjects.length; i++) {
theObjects[i].outerHTML = theObjects[i].outerHTML;
}

Place this below the </object> tag:
<script type="text/javascript" src="http://www.jouwdomeinnaam.com/ieupdate.js"></script>
Related topics

What kind of releationship are you in right now?
Gays - Do You Accept Them?
Was there any point to sending men to the moon?
Randomness is an illusion. [philosophy/science]
Megaman Phoenix

which server operating system?
Harry Potter and the Half-Blood Prince **Spoiler Alert**
Server 2 strange 403/404 error but the page exists
Slow Server ?
Ragnarok Online private server...

Strange Mysql-database
CPU and memory usage
how to set up a server
My list of musics
Day of defeat source
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.