Ho provato questo snippet ma non funziona bene:
http://bootsnipp.com/snippets/featur...pdown-menu-bs3
le scritte dei submenu escono fuori dal tag a o li.
codice HTML:<!-- Navigation --> <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation"> <div class="container"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header"> <a class="navbar-brand" href="index.php">GGG</a> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> </div> <!-- Collect the nav links, forms, and other content for toggling --> <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> <ul class="nav navbar-nav navbar-right"> <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Software <b class="caret"></b></a> <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu"> <li><a href="#">Software</a></li> <li><a href="#">Software</a></li> <li class="divider"></li> <li class="dropdown-submenu"><a href="#">Software</a> <ul class="dropdown-menu"> <li><a href="#">Software Software</a></li> <li><a href="#">Software Software</a></li> <li><a href="#">Software Software</a></li> <li><a href="#">Software Software</a></li> <li><a href="#">Software Software</a></li> </ul> </li> </ul> </li> <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Software <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="#">Software Software</a></li> <li><a href="#">Software Software</a></li> </ul> </li> </ul> </div> <!-- /.navbar-collapse --> </div> <!-- /.container --> </nav>

Rispondi quotando