html - CSS: make dropdown submenu appear below parent <ul> <li> -


i trying build css dropdown menu. problem child nodes in ul li tree appear on same row, instead of below parent. how make subcategories appear below parent ?

add display:block; float: left;position: relative; on li establish containing block , position:absolute; top:100%; left:0; on sub-menu ul position respect containing block.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -