I
ivanhoe
What I wanted was to get rid of offsetLeft and use "proper" way
instead....but when I do
document.getElementById('someDiv').style.left;
I keep getting empty string, unless I first set it manually (in CSS or js)
to some value...
if that is intended behavior(that is if I haven't f***d up something in
my code), and there is no offsetLeft property in W3C recommendation, what is
then "standard compliant" way to make browser calculate coordinates of some
tag on the page???
thanx in advance,
ivan
instead....but when I do
document.getElementById('someDiv').style.left;
I keep getting empty string, unless I first set it manually (in CSS or js)
to some value...
if that is intended behavior(that is if I haven't f***d up something in
my code), and there is no offsetLeft property in W3C recommendation, what is
then "standard compliant" way to make browser calculate coordinates of some
tag on the page???
thanx in advance,
ivan