To make an HTML list appear horizontally instead of stacked vertically, simpy set the list item tag's display style to "inline" in your CSS file or style attribute, and be sure your container element's width is wide enough for the list items to be stacked horizontally.
example:
.exHorizontalListClass {
/* Horizontal List Items: */
display: inline;
/* To remove bullets: */
list-style: none;
}
Posted on
Tuesday, December 1, 2009
by Sean P
filed under