#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2011
    Posts
    306
    Rep Power
    6

    Need help with sub menu on hover.


    If you take a look at this site removed and hover over the shop now button and hover over the sub menus you will notice that my page shifts to the left. I cannot figure out what in the world is causing this and how to fix it.

    Any help would be great!
    Last edited by tech0925; February 21st, 2013 at 01:00 AM.
  2. #2
  3. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2011
    Location
    The Pleiades
    Posts
    298
    Rep Power
    8
    The reason it is 'shifting' to the left is because when you hover over the first sub-menus under the 'shop now' button, the list is greater in height than the browser window, which means it adds a vertical scrollbar.

    This makes it appear that it is shifting and I suppose in essence it is, but that is the reason for it. For example, put a large height on your #footer_container div say 'height: 400px', then hover over your sub-menu again and it stays in exactly the same place.

    Hope this helps you,

    Regards,

    NM.

    Comments on this post

    • tech0925 agrees
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2011
    Posts
    306
    Rep Power
    6
    Thanks! I can't believe I did not notice it was because of the scroll bar. LOL Thanks!

IMN logo majestic logo threadwatch logo seochat tools logo