<title>Unique Design for Scrolling Sidebar</title>
<style type="text/css">
* { margin: 0; padding: 0; }
body { font: 14px/1.4 Georgia, serif; }
#page-wrap { width: 600px; margin: 0 auto; position: relative; z-index: 1500; }
h1 { padding-top: 15px; }
p { margin: 0 0 15px 0; }
p:first-child { background: #fffcde; padding: 10px; }
#sidebar ul { background: #eee; padding: 10px; }
li { margin: 0 0 0 20px; }
#main { width: 390px; float: left; }
#sidebar { width: 190px; position: fixed; left: 50%; top: -45px; margin: 0 0 0 110px; z-index: 1000; }
#title-area { background: white; position: relative; z-index: 3000; }
#reveal { position: absolute; right: 0; bottom: -20px; z-index: 2000; }
</style>
<!--[if IE 6]>
<style type="text/css">
html, body { height: 100%; overflow: auto; }
#sidebar { position: absolute; }
#page-wrap { margin-top: -5px; }
#ie6-wrap { position: relative; height: 100%; overflow: auto; width: 100%; }
</style>
<![endif]-->
<!--[if IE 7]>
<style type="text/css">
#page-wrap { margin-top: -5px; }
#reveal { bottom: -10px; }
</style>
<![endif]-->
<div id="ie6-wrap">
<div id="page-wrap">
<div id="title-area">
<h1>Custom Scrollable Sidebar</h1>
<p>By <a href="http://css-tricks.com"><strong>CSS</strong>-Tricks</a></p>
<img src="images/reveal.png" alt="" id="reveal" />
</div>
<div id="main">
<p>Scroll down and observe the sidebar on the right as it moves along.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. Sed nisi. Nulla quis sem at nibh elementum imperdiet. Duis sagittis ipsum. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.</p>
</div>
</div>
</div>
<div id="sidebar">
<img src="images/logo.png" alt="logo" id="logo" />
<ul>
<li><a href="index.html">jQuery (animated)</a></li>
<li><a href="css.html">CSS (fixed)</a></li>
<li><a href="reveal.html">CSS (reveal)</a></li>
</ul>
</div>