cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

Quick-add: + add another resource

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

Quick-add: + add another resource

Code Indentation


Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

              <div id="header">
  <a class="logo" href="index.html"><img src="http://i48.tinypic.com/2mob6nb.png" alt="Michigan State" /></a>
    <li><a href="index.html">Home</a></li>
    <li><a href="index.html">Stats</a></li>
    <li><a href="index.html">Schedule</a></li>
    <li><a href="index.html">Store</a></li>
    <li><a href="index.html">Gallery</a></li>
    <li><a href="index.html">Roster</a></li>
</div><!--end header-->
  <!-- <br class="clearboth"> <- - never, ever do this; there are far better ways of containing floats, its not even needed here -->
              body {  
  font-family: Helvetica, Arial, Century;
  font-size: 12px;
  margin: 0;
  background: url('images/bluebg.jpg') repeat-x top center;

#header {
  background-color: #ffd727;
  height: 40px;
  position: relative;
  margin: 150px auto 0;

#header ul {
  margin: 0 auto;
  width: 800px;
  padding: 0;
  list-style: none;

#header ul li {
  float: left;
  width: 97px;

#header ul li:nth-of-type(4) {
  margin-left: 217px;

#header ul li a {
  text-transform: uppercase;
  text-decoration: none;
  display: block;
  text-align: center;
  padding: 12px 0 0 0;
  height: 28px;

#header ul li a:hover {
  background: rgb(235,200,35);

.logo {
  position: absolute;
  left: 50%;
  margin: -48px 0 0 -108px;

@media screen and (max-width: 800px) {
  .logo {
    bottom: 100%;

  #header ul li:nth-of-type(4) {
    margin-left: 0;
  #header ul {
    width: 600px;
    position: relative;
Loading ..................