How to make this menu work for multiple lines


I've followed this tutorial and the menu works great.

I want to use it in a different way.

I will display some database records and want to have a gear icon which when hovered will show operations in a dropdown menu.
The thing is using this menu goes over one another

any ideas ?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Deatils are not clear
svetoslavmAuthor Commented:
thanks for the replies.
added a screenshot
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Jagadishwor DulalSenior Web DeveloperCommented:
What is your list style ul li can you post your link or css cause we don't know what did you modify there.
svetoslavmAuthor Commented:
Actually I managed to make the hover to appear.

Check this link:

the question now is how to: make box with a border when you mouse over the great (right) this may not appear in all browsers as it is an HTML entity

here you go
.centeredmenu ul ul {
    background-color: white;
    border: 1px solid blue;
    display: none;
    left: 0;
    position: absolute;
    right: auto;
    top: 2em;
    width: 10em;

Open in new window


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
svetoslavmAuthor Commented:
Thanks Eyal!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.