PDA

View Full Version : Problem about align submenu for SPRY menu bar


joeylu@yahoo.com
03-23-2009, 02:17 PM
Hi, by default, SPRY menubar (horizontal) sets all its submenus to the left (under its parent item).
Is it possible to set the alignment to right or center instead Left? I'm not talking about the Text, is acutally the whole submenu Box.
I have no problem the set the main menus to the right (by adjusting float: right; under ul.MenuBarHorizontal li), but not found any solution to adust its submenus.
Please help, tks

edbr
03-24-2009, 02:26 AM
in the css sheet

/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
ul.MenuBarHorizontal ul
{
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
z-index: 1020;
cursor: default;
width: 8.2em;
position: absolute;
left: -1000em;
}

joeylu@yahoo.com
03-24-2009, 03:12 AM
tks for the reply.
in that class, what should I add in order to align my submenus to the right?