html - How to increase child ul width -


i create ul drop down mega menu here mega menu html code:

<div class="wrap">     <div>         <a href="#"><img src="images/logo.png" alt="logo" /></a>     </div>     <div>         <nav style="text-align: right">             <ul>                 <li><a href="#">home</a></li>                 <li>                     <a href="#">what's new</a>                      <ul id="mega_menu">                         <li>                             test                         </li>                     </ul>                 </li>                 <li><a href="#">feature</a></li>             </ul>         </nav>     </div> </div> 

i want increase child ul (mega_menu) width using percentage (width:100%) equal wrap div. if visitor resize browser ul (mega_menu) resize automatically. enter image description here

i trying hard solved problem can’t find solution. please, can me solve problem. thanks.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -