Suppose I have markup as setup
Currently drop downs look like


To solve the 1st problem, I could add a margin-top to child ul’s to compensate for padding in list items http://jsfiddle.net/ADxne/1/
.horMenu > li > ul {
margin-top: 10px;
}
but for the 2nd problem without a fixed width list or list items, is there a way to position the sub menu to the right of the list item? Or is the only way to set a fixed width? http://jsfiddle.net/ADxne/2/
you can use absolute positioning for
.horMenu ul uland then move it to right. Also add a fixed width. So with the above the.horMenu ul ulwill be modified to the following:check a live example: http://jsfiddle.net/ADxne/3/