Nie wspominajcie mi o IE, mam z nim już dosyć kłopotów, od tygodnia się męczę z takim kodem:
function dodajGrafikeDoGalerii(src, width){
var item = document.createElement("img");
this.miniatures4.appendChild(item);
item.style.width=width;
item.style.height=90;
item.width=width;
item.height=90;
item.src=src;
item.style.position="relative";
item.style.left=0;
this.leftMax+=width;
}
który podczas testów na sekcji div o nazwie main jako obiekt this.miniatures4, a po użyciu w tej zmiennej obiektu td tabeli w firefoksie działa prawidłowo, a w IE zmienia automatycznie wartości hight i width na 0:
<IMG style="LEFT: -50px; WIDTH: auto; POSITION: relative; HEIGHT: 90px" height="0" src="file:///C:/Documents%20and%20Settings/js/powst_wlkp_hub/data/gallery/g1.jpg" width="0" />
denerwuje mnie już to i to bardzo ;-<