i create a DIV element with CSS ID specified. inside CSS ID there is position specified but i can not see it from javascript lateron.. i try to access it via eg. div1.style.left and get an empty string instead of value specified inside CSS ID definition. how to get it? when i copy the CSS ID definition into DIV tag's STYLE attribute everything works fine..
how shall it be?
eg.
<style>#id1{position:absolute; background-color: blue; width:10; left: 110; top: 40; height: 300; cursor: w-resize; z-index:10}</style>
<div id="id1" onmousedown="alert(this.style.left)">
...and when i click on that div i get alert with an empty string..