Home › Forums › CSS › Trouble with drop down menu in fluid layout › Reply To: Trouble with drop down menu in fluid layout
May 7, 2014 at 2:57 am
#169422
Paulie_D
Member
Without an updated Codepen it’s hard to say precisely what’s wrong but your previous HTML was poorly structured.
You had closed the parent li
before the sub-menu ul
.
The structure should look a little like..
<nav role='navigation'>
<ul>
<li><a href="#">About</a>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
</ul>
</li>
</ul>
</nav>