Skip to content

Instantly share code, notes, and snippets.

@tjweir
Created March 1, 2009 17:05
Show Gist options
  • Save tjweir/72384 to your computer and use it in GitHub Desktop.
Save tjweir/72384 to your computer and use it in GitHub Desktop.
I forget this a lot:
http://css.maxdesign.com.au/listamatic/horizontal01.htm
HTML
<div id="navcontainer">
<ul id="navlist">
<li id="active"><a href="#" id="current">Item one</a></li>
<li><a href="#">Item two</a></li>
<li><a href="#">Item three</a></li>
<li><a href="#">Item four</a></li>
<li><a href="#">Item five</a></li>
</ul>
</div>
CSS
#navlist li
{
display: inline;
list-style-type: none;
padding-right: 20px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment