HTML horizontal list elements instead vertical

Submitted by Anonymous (not verified) on Tue, 03/31/2009 - 03:17

Use css to make horizontal lists

<style type="text/css">
.hlist li { float:left; }
</style>

<ul class="hlist">
<li><a>link1</a></li>
<li><a>link2</a></li>
....
</ul>

Add new comment