#topmenu ul.menu { background-repeat: no-repeat; Of course, as it is now if there are too many items in the list theyll start to wrap. The difference between the phonemes /p/ and /b/ in Japanese, Short story taking place on a toroidal planet or moon involving flying. I have a centred nav bar on one of my sites, and all Ive done is, ul#menu {text-align:center; list-style-type:none;} With adding javascript libraries to my site (as do most sites), I prefer not to use unnecessary code (in the form of UL, OL, and LIs). . Nice trick, it worked with the site I am developing. For instance, lets build a horizontal list. See the Pen Horizontal List - float: left by Jason Stewart (@jastew) on CodePen. Lets set them to have aninline-block display. This is where the trick comes in. However I had to do some additional tweaks in order to make it centered in IE7, as I did had similar problem like LukeR. It is not the best. So on and so forth. @David along with the css turn off point that Chris pointed out, I would also suggest it is more semantic than other suggestions as with a lot of navigations, all you would require is the ul and li and it saves using other divs etc. See the Pen css horizontal list menu by CSS4HTML (@CSS4HTML) on CodePen. To subscribe to this RSS feed, copy and paste this URL into your RSS reader. To add a list of options in the vertical menu use HTML. In HTML, an unordered list(