Navigational list : List menu « CSS Controls « HTML / CSS






Navigational list

  

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />

    <title></title>
<style type="text/css" media="Screen">
#navigation  ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

#navigation li {
  display: inline;
  font: 12px Arial, sans-serif;
  padding: 0 10px 0 15px;
}

#navigation a {
  color: #000000;
}
</style>
</head>
<body>
    <div id="navigation">
        <ul>
            <li><a href="#">Home page</a></li>
            <li><a href="#">Reviews</a></li>
            <li><a href="#">Live gigs</a></li>
            <li>No Link</li>
        </ul>
    </div>
</body>
</html>

   
  








Related examples in the same category

1.Unordered list containing hyperlinks
2.Horizontal list menu
3.Expandable left list based menu
4.List based menu
5.Put anchor into li
6.Left list menu and three columns
7.Using image to create non-horizontal links
8.Vertical links