J
JKD
After writting this code...
document.write('<div id="foo"
style="position:absolute;top:0;left:0;width:10;height:10;background:#fffff0;font-size:1"></div>');
.... I've tryed to see its properties with the next line:
alert(document.getElementById('foo').style.PixelLeft);
but both in firefox and internet explorer return "undefined".
What is the error? How can I access properly to that div in firefox and
iexplore ?
document.write('<div id="foo"
style="position:absolute;top:0;left:0;width:10;height:10;background:#fffff0;font-size:1"></div>');
.... I've tryed to see its properties with the next line:
alert(document.getElementById('foo').style.PixelLeft);
but both in firefox and internet explorer return "undefined".
What is the error? How can I access properly to that div in firefox and
iexplore ?