| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Html Element Coordinate
I want to show an menu in the on the control right side, aligned to top.. I mean the left-top corner of menu must be the same with right-top corner of element
How can I find the right-top of current element? |
|
#2
|
||||
|
||||
|
Your post doesn't make any sense.
"show an menu in the on the control right side" <-- WTH!? Elements don't have "co-ordinates" unless they're positioned. I don't believe there's a way to get their "actual" position in the page when they're "flowed". |
|
#3
|
||||
|
||||
|
You can do this with CSS pretty easily. You might have to re-structure your current layout but here is something for conceptual purposes: http://www.inknoise.com/experimental/layoutomatic.php
To answer your question, there is no way to get the coordinates of the top-right of your "current element."
__________________
If you found a post of mine helpful, please click on the on my post to add to my reputation.
|
![]() |
| Viewing: ASP Free Forums > Web Design > Web Layout > Html Element Coordinate |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|