File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

position a div under a label in any part of the page

 
Timothy Sam
Ranch Hand
Posts: 751
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys! Suppose 3 labels, the table is positioned in some random part of the page and these labels are inside a table





and then I have a div



Now, I need to create a javascript code that positions the submenu under, let's say label b. How can I do exactly that? There's not problem with hiding/hiding the div, I just need it to appear right under label b. I can do this with absolute positioning but then when the browser is resized, the div is placed somewhere else! Thanks!
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Going to have to use JavaScript



basic use



Eric
 
Timothy Sam
Ranch Hand
Posts: 751
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are the man! Cheers! Thanks a lot!
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic