mosLoadModule( ..., $style)
$style can be:
0: Modules are displayed in a table with a single row and column. This is the default setting, and you will never really need to use it.
1: Modules are displayed in a table with multiple column rows, giving it the effect of being displayed horizontally, rather than vertically like the default.
-1: Modules are displayed in plain text output, without title.
-2: Modules are displayed wrapped in a single < div > tag, with title in < h3 > header tag.
-3: Modules are displayed wrapped in several < div > tags with title in < h3 > header tag allowing more complex CSS styling to be applied, such as stretchable, rounded corners.
There is another way to control menu module output:
Module -> Site Modules -> Main Menu
Menu Style = Flat List
Example: Top Menu, Lastest News and Popular link menus are already using Flat List option.