第一种:使用float:left。http://jsfiddle.net/tounaobun/DE596/

第二种:使用display:inline。http://jsfiddle.net/tounaobun/DE596/1/

在ul中使li水平布局的两种方法