It doesn't really answer my question, because the element whose position i want has no ID.
One could say "use getElementsByTagName, then!" .
I have ALREADY found the element i'm interested in with HTML::Tree, and want to get it's position.
Thanks for very fast answer, though =o)