Forum Moderators: not2easy
The idea is to get a side navigation bar of links, each stacked directly on top of the other, all 200px wide, with each link being set to display:block so the full 200px is clickable.
Here's the code:
<html><head>
<title>Stacked Side-Nav Bar</title>
<style type="text/css">
#sidenav {background-color: #cee1f0; border: 1px solid #334dac; color: #334dac; width: 200px; position: relative;}
ul, li {margin: 0; padding: 0; list-style-type: none;}
a:link, a:visited {display: block; color: #334dac;}
a:hover, a:active {color: #ffffff; background-color: #334dac;}
</style>
</head>
<body>
<div id="sidenav">
<ul id="navbar">
<li><a href="#">Home</a></li>
<li><a href="#">My Profile</a></li>
<li><a href="#">My Membership</a></li>
<li><a href="#">Articles</a></li>
<li><a href="#">Free Newsletter</a></li>
<li><a href="#">Support</a></li>
</ul></div>
</body>
</html>