Display sub menus on the right of main menu items

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • puneetmca
    New Member
    • Jan 2010
    • 15

    Display sub menus on the right of main menu items

    hi....i have made a horizontal menu with some of the sub menu items using javascript and CSS...but when i open the sub menu items then the items are opened below the main menu by overlapping other items...but i want it should be open in right or left side....so that user can easily select the options.....
    can you help me out if there is any code or property in css for doing it...........
    thankz
  • hsriat
    Recognized Expert Top Contributor
    • Jan 2008
    • 1653

    #2
    Can't provide a solution without looking at the css code. But still if I make a guess, provide left margin to the submenu, equal to the width of the main menu.

    Comment

    • puneetmca
      New Member
      • Jan 2010
      • 15

      #3
      thanx dr ............... i will try it

      Comment

      • Ashwani Sharma
        New Member
        • Nov 2008
        • 46

        #4
        If your submenus are in absolute position, you can use LEFT also equals to the width of your menu.

        Ashwani Sharma

        Comment

        Working...