This menu allows you to hide / show by changing the left property. All you need to do is adapt the CSS rule that controls the show mechanism for the submenu:
#nav li:hover ul{ left:0; }
instead of aligning to the left, we want to align it correctly, so add right:0; . However, if we do not touch the left declaration, the menu will be disabled, so instead of left:0; we will write left:auto; so that the menu expands its internal width. To place the parent li for the field, we add the same amount as the negative, and we do:
#nav li:hover ul{ left:auto; right:0; margin-right:-10px; }
you changed the violin
Christoph
source share