Problem with Horizontal List menu


I have a menu.jsp which contains a Horizontal List menu and is included into other content.JSPs.
Problem is that the sub menus get cut off or partially hidden. As in they dont flow on the parent JSP.
I used the exact code as in this link.

What possibly is the problem? Please help.

Hi asmitaisit. Welcome to SitePoint.

What browser is this happening in? It works fine in Firefox.