Tutorial 5 - Floating next and back buttons using lists

Step 9 - Add a background color

To add a background color, you set it within the "a" state. A color is also added to make the text readable. At this stage there is no rollover state. This will be added soon.

Go to Step 10 →

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.

list-style-type: none;
margin: 0;
padding: .5em 0;
border-top: 1px solid #666;

ul#navigation li a
display: block;
width: 5em;
color: #FFF;
background-color: #036;


ul#navigation .left { float: left; }
ul#navigation .right { float: right; }

Lorem ipsum dolor sit amet...
<ul id="navigation">
<li class="left"><a href="#">Back</a></li>
<li class="right"><a href="#">Next</a></li>
Other Max Design articles and presentations
Associated with webstandardsgroup.org