Return to Snippet

Revision: 48374
at June 30, 2011 00:19 by Alwaison


Initial Code
<!-- The HTML -->
<div class="w">
    <ul>
        <li>Elemento 1</li>
        <li>Elemento 2</li>
        <li>Elemento 2</li>
    </ul>
</div>

<!-- The CSS -->
<style type="text/css">
.w { overflow:hidden; }
ul { float:left; left:50%; position:relative; }
li { float:left; right:50%; position:relative; }
</style>

Initial URL
http://jsfiddle.net/Alwaison/n3YaC/

Initial Description
A *ul* or *ol* list centered in the container.

Initial Title
Horizontal navigation centered in their container

Initial Tags
css, html

Initial Language
HTML