I found the removeAttribute function, but I don't know how to select all <a> elements in the whole page with as little code as possible.
This is what I have so far:
<!--[if IE 6]>
<style>
* html #mica-container img, * html #mica-container div, * html #mica-container a {
behavior: url(ebay/template/iepngfix.htc);
}
</style>
<script type="text/javascript">
document.getElementsByTagName('img').removeAttribute('alt');
</script>
<![endif]-->
I'm doing this because IE sucks and IE 6 has the stupid alt text displayed on top of the images with the HTC file to fix transparent PNGs.
Unbelievable they are making IE 8 btw, I wished they would just keep their mouths and IE development shut. The IE Blog is a real flip off, makes me sick to read about their "mission" and how they are doing so many good things to the browser to promote "Trustworthy Computing". Ok, I stop the rant now.
Help would be appreciated here! Thanks...


Help
This topic is locked

MultiQuote











