scusa, non avevo letto non è style.position.left, ma style.left.
la proprietà style contiene tutte le regole applicate sull'elemento tramite l'attributo style:
codice:
<div id="Test" style="width: 123px; height: 55px; margin-left: 120px; background-color: #C0C0C0;"></div>
Facendo:
codice:
alert(document.getElementById("Test").style.width); //Alert 123px
alert(document.getElementById("Test").style.height); //Alert 55px
alert(document.getElementById("Test").style.marginLeft); //Alert 120px
alert(document.getElementById("Test").style.backgroundColor); //Alert rgb(192, 192, 192) beh, dipende anche dal browser
N.B: non ho usato margin-left, ma marginLeft perché è il nome della proprietà CSS in Javascript.
http://codepunk.hardwar.org.uk/css2js.htm