Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
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: 192
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: 15376
    
    6


You would call it with



Eric
samir ware
Ranch Hand

Joined: Jul 27, 2005
Posts: 192
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: 1321

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..
[Blog][Linkedin] How To Ask Questions On JavaRanch My OpenSource
samir ware
Ranch Hand

Joined: Jul 27, 2005
Posts: 192
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?