How do I display a list horizontally?

you can use the display property set to inline on the list item.

you can use the following line into your .css file to display list items horizontally

ul li{ display: inline; }

Explore posts in the same categories: CSS, CSS2, Design, Tutorials, Web 2.0

2 Comments on “How do I display a list horizontally?”


  1. thanks for the GREAT post! Very useful…


Comment: