.ui-stackmenu { position: relative; } .ui-stackmenu-item { position: absolute; }