Skip to content

Instantly share code, notes, and snippets.

<div id="container">
<ul id=navList">
<li>Nav Item 1</li>
<li>Nav Item 2</li>
<li>Nav Item 3</li>
<li>Nav Item 4</li>
<li class="last">Nav Item 5</li>
</ul>
</div>
div#container {
width:500px;
}
ul#navList li {
width:100px;
margin-right:25px;
text-align:center;
}
li.last {
margin-right:0px;
<?php
/**
* SplClassLoader implementation that implements the technical interoperability
* standards for PHP 5.3 namespaces and class names.
*
* http://groups.google.com/group/php-standards/web/final-proposal
*
* // Example which loads classes for the Doctrine Common package in the
* // Doctrine\Common namespace.