Hi,
Did you mean something like this?
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Untitled Document</title>
<style type="text/css">
.tab {
position:fixed;
top:20%;
left:-302px;
width:300px;
background:red;
border:1px solid #000;
-moz-border-radius:8px;
-webkit-border-radius:8px;
border-radius:8px;
z-index:99;
}
.tab h4 {
position:absolute;
right:-51px;
top:20px;
z-index:2;
width:10px;
padding:20px;
font-size:24px;
margin:0;
border:1px solid #000;
border-left:0;
background:red;
color:#fff;
text-transform:uppercase;
-moz-border-radius:0 8px 8px 0;
-webkit-border-radius:0 8px 8px 0;
border-radius:0 8px 8px 0;
}
.tab, .tab ul {
-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
-o-transition: al 0.3s ease;
-ms-transition: all 0.3s ease;
transition: all 0.3s ease;
}
.tab:hover {
width:300px;
left:0;
}
</style>
</head>
<body>
<div class="tab">
<h4>T a b</h4>
<ul>
<li><a href="#">Links and stuff</a></li>
<li><a href="#">Links and stuff</a></li>
<li><a href="#">Links and stuff</a></li>
<li><a href="#">Links and stuff</a></li>
<li><a href="#">Links and stuff</a></li>
<li><a href="#">Links and stuff</a></li>
<li><a href="#">Links and stuff</a></li>
<li><a href="#">Links and stuff</a></li>
<li><a href="#">Links and stuff</a></li>
</ul>
</div>
</body>
</html>
Bookmarks