Latest Lists

How do I create a list in html that is all on 1 line?

I want to create a navigation bar and I plan to separate the links with bullets, which is where <li> comes in. Here is the code I currently have. <ul> <li><a href="">Home</a>   </li> <li><a href="">Smallville</a>   </li> <li><a href="">Legend of the Seeker</a>   </li> <li><a href="">Heroes</a>   </li> <li><a href="">Lost</a>   </li> <li><a href="">Simpsons</a>   </li> <li><a href="">The Office</a>   </li> <li><a href="">Wipeout</a>   </li> </ul> How can I make it so the <li> doesn't automatically make the links go to the next line?

Public Comments

  1. CSS: ul li { display: inline; } Ron
Powered by Yahoo! Answers