+1  A: 

Generally, you would find that different page rendering engines do render the html in their own way and the results will differ.

The thing is that if you stick to any concrete browser engine, what you are to do is somehow bringing this engine into your project and using engine's interface to retrieve these coordinates. Kind of a tough task though, simply because you'll have to read a lot of documentation and crawl through thousands of files.

I think that right approach would be posting this task in some place, that is specific for the page rendering engine you've chosen. (gecko/webkit/...)

If you prefer sticking to something MS-specific, guess it's gonna be easier, but can't help you with something like class names or code chunks that you want to see. Probably somebody else could guide you in this case.

Kotti
as I mentioned, it is not important which rendering engine is being used or if they render it differently, but position of elements that it will render and how easy it would be to integrate in my code. And I agree, my results would be biased coz of the engine I use..I think it is a good idea to post in respective forums..but I am still open to further comments and suggestions..Thanks
Mexx
Hm, forgot to mention... I'm not quite sure about your actual aim, but I think, that before digging into web engines' code you should actually think about all these differences between renderers. Cause even in case of simple html web-designers often make different layouts, apply fixes for different browsers, etc... Imagine how different will the rendering look, when, e.g JavaScript is involved. Even window width or enabling / disabling of your browser's toolbar could affect elements positioning. I guess this is the case where planning your application should take REALLY a lot of time
Kotti