I am trying to build a simple horizontal list, where each list item is a div and I want them all to sit next to one another. When I try to use the code below though, the div
#navlist li { display:inline }
#navlist div { display:inline }
Making the Alternatively, you may want You may also be interested in this demo: http://phrogz.net/JS/ul2menu/purecss_testsuite.html I'm not sure why you have inline while leaving the inline-block for the if you are going to be controlling sizes or margins., but I presume you have your reasons.