title: Html element position in Python
body: <p>I'm using lxml.html for some html parsing in python.  I'd like to get a rough estimate of the location of elements within the page after it would be rendered by a browser.  It does not have to be exact, but generally correct.  For simplicity I will ignore the effects of Javascript on element location.  As an end result, I would like to be able to iterate over the elements (e.g., via lxml) and find their x/y coordinates.  Any thoughts on how to do this?  I don't need to stay with lxml and am happy to try other libraries.</p>