tad604
tad604

Reputation: 336

CSS hover menu fly out menus

http://jsfiddle.net/kvKfr/

Shows the menu as I've got it working. Does anyone know how to keep the LI element in the parent UL from expanding? I want the sub menu to show to the right (as it is) with out causing the parent LI to change sizes. Is this possible?

Upvotes: 1

Views: 1235

Answers (2)

Gabriele Petrioli
Gabriele Petrioli

Reputation: 196092

Set

ul.myMenu li > ul

to be

position:absolute

Demo at http://jsfiddle.net/gaby/kvKfr/2/

Upvotes: 2

mowwwalker
mowwwalker

Reputation: 17382

The basic idea on these is to make the position absolute:

http://jsfiddle.net/kvKfr/1/

Upvotes: 2

Related Questions