jmc92
10-23-2009, 09:31 PM
Ok I have this code
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<meta name="generator" content="HTML Tidy for Linux (vers 6 November 2007), see www.w3.org">
<style type="text/css">
/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */
.mattblacktabs{
width: 100%;
overflow: hidden;
border-bottom: 0px solid black; /*bottom horizontal line that runs beneath tabs*/
}
.mattblacktabs ul{
margin: 0;
padding: 0;
padding-left: 3px; /*offset of tabs relative to browser left edge*/
font: bold 11px Verdana;
list-style-type: none;
}
.mattblacktabs li{
display: inline;
margin: 0;
}
.mattblacktabs li a{
float: left;
display: block;
text-decoration: none;
margin: 0;
padding: 3px 6px; /*padding inside each tab*/
border-right: 3px solid black; /*right divider between tabs*/
color: white;
background: #000000; /*background of tabs (default state)*/
}
.mattblacktabs li a:visited{
color: black;
}
.mattblacktabs li a:hover, .mattblacktabs li.selected a{
background: silver; /*background of tabs for hover state, plus tab with "selected" class assigned
to its LI */
}
</style>
<title></title>
</head>
<body>
<div class="mattblacktabs">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="apps.html">Apps</a></li>
<li><a href="games.html">Games</a></li>
<li><a href="../web/search.html">Search</a></li>
<li><a href="media.html">Media</a></li>
<li><a href="chat.html">Chat</a></li>
<li><a href="links.html">Links</a></li>
<li><a href="about.html">About</a></li>
</ul>
</div>
</body>
</html>
How do I make this a multilevel menu?
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<meta name="generator" content="HTML Tidy for Linux (vers 6 November 2007), see www.w3.org">
<style type="text/css">
/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */
.mattblacktabs{
width: 100%;
overflow: hidden;
border-bottom: 0px solid black; /*bottom horizontal line that runs beneath tabs*/
}
.mattblacktabs ul{
margin: 0;
padding: 0;
padding-left: 3px; /*offset of tabs relative to browser left edge*/
font: bold 11px Verdana;
list-style-type: none;
}
.mattblacktabs li{
display: inline;
margin: 0;
}
.mattblacktabs li a{
float: left;
display: block;
text-decoration: none;
margin: 0;
padding: 3px 6px; /*padding inside each tab*/
border-right: 3px solid black; /*right divider between tabs*/
color: white;
background: #000000; /*background of tabs (default state)*/
}
.mattblacktabs li a:visited{
color: black;
}
.mattblacktabs li a:hover, .mattblacktabs li.selected a{
background: silver; /*background of tabs for hover state, plus tab with "selected" class assigned
to its LI */
}
</style>
<title></title>
</head>
<body>
<div class="mattblacktabs">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="apps.html">Apps</a></li>
<li><a href="games.html">Games</a></li>
<li><a href="../web/search.html">Search</a></li>
<li><a href="media.html">Media</a></li>
<li><a href="chat.html">Chat</a></li>
<li><a href="links.html">Links</a></li>
<li><a href="about.html">About</a></li>
</ul>
</div>
</body>
</html>
How do I make this a multilevel menu?