CSS/Jquery How can I display a div directly under button?
        Posted  
        
            by user342391
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by user342391
        
        
        
        Published on 2010-06-10T19:40:46Z
        Indexed on 
            2010/06/10
            19:53 UTC
        
        
        Read the original article
        Hit count: 248
        
I have a button that when hovered displays a div.
How can I postion this div to appear directly under the button when displayed???
  <script type="text/javascript">
 $(document).ready(function(){
  $(".plans").hover(function() {
    $("#planssubnav").show("slow");
  }, function(){
    $("#planssubnav").hide("slow");
  });
 });
  </script>
 <a href="/plans" style="font-size:14px;" class="plans fg-button fg-button-icon-right ui-state-default ui-corner-all"><span class="ui-icon ui-icon-circle-triangle-s"></span>Plans</a>
  <div id="planssubnav" style="display:none">
  <h1> content</h1>
   </div>
© Stack Overflow or respective owner