How to figure out adjacent element by position given an element ?<br>
<br>
Eg., In below example is there a way to figure out the text Height next to Image.<br>
<br>
<p><img src="test.jpg"/><i>J</i></p><br>
<br>
In above case, it is height of J that needs to be determined.<br>
using previous/next sibling of image will work.<br>
<br>
But there could be elements based on positions like relative or absolute
 that render next of image (test.jpg) above, how to find those elements'
 height?<br>
In short , need to find adjacent element by position rendered in webkit.<br><br>Thanks,<br>Tinu<br>