I have created a fiddle: http://jsfiddle.net/pQZ8f/
I want to have both the list items to be of same height without setting height manually. I want it to auto grow.
You can use: display: inline-table on your LI elements
li { width:100px; background: red; display: inline-table }
here is JSFiddle