This menu wraps if there is not enough place.
The list items are floating. Therefore, a <br style="clear: both;"/> at the end of the list (between </li> and </ul>) is required.
<br style="clear: both;"/>
</li>
</ul>
item1 item2 … ]]>