html - Trouble with sizing ul ul li -


ok. need this: the needed way this:

<ul>     <li><img src="bla.png"></li>     <li><img src="bla2.png></li>     <li>         <ul>             <li>line 1</li>             <li>line 2</li>         </ul>     </li> </ul> 

but whatever try this:

wrong1

i tried make :

ul ul li {     display:block; } 

but got this: enter image description here

i tried change line-height, didn't work!

please, me!!!

thanks, in advance

working demo

ul li{     display:inline-block; } ul li ul > li{     display:block; } 

Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -