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.
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.
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>