I have an unordered list inside a div. I use it to create buttons on the menu.
#tagscontainer { width: 700px; height: 50px; margin: auto; } #tagscontainer li { margin-right: 1em; float: left; background: none repeat scroll 0 0 #EEEEEE; } <div id="tagscontainer"> <ul> <li><a href="menu1"> Link 1</a></li> <li><a href="menu2"> Link 2</a></li> <li><a href="menu3"> Link 3</a></li> </ul> </div>
I want the objects to be arranged vertically in a DIV hosting. It is also best to set the height for ul or for li in such menus. Basically I want my button to be larger than the text with some IDENTICAL indentation from the ceiling and floor of the parent div.

source share