File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes position of HTML columns in pixels? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "position of HTML columns in pixels?" Watch "position of HTML columns in pixels?" New topic
Author

position of HTML columns in pixels?

samir ware
Ranch Hand

Joined: Jul 27, 2005
Posts: 186
Is it possible to get the position of HTML columns in pixels. Position could be relative or absolute ..that is not an issue.
Is there any way to achive this ???
[ August 21, 2007: Message edited by: Bear Bibeault ]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15357
    
    6


You would call it with



Eric
samir ware
Ranch Hand

Joined: Jul 27, 2005
Posts: 186
hi Eric ,
Thanks for the reaply .But the code you have given can give me the position of any of the element like table or div. I want to know the position of tr and td inside the table. Is it possible to get the position of td with the code that you have given .
I tried the code there by passing the id as TD ...but it was not working
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1318

Originally posted by samir ware:

Is it possible to get the position of td with the code that you have given .


Yes it is.



hope it helps.


Saifuddin..
[Linkedin] How To Ask Questions On JavaRanch My OpenSource
samir ware
Ranch Hand

Joined: Jul 27, 2005
Posts: 186
Thanks a ton Saif . This is what I was looking for. Thank you once again
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: position of HTML columns in pixels?
 
Similar Threads
Convert x,y co-ordinates in pixels to html
Some HTML help needed
problem in using richfaces
Cursor handling in JTextArea
Please help with textarea formatting issues