Hi,
Try this code instead and see if it does what you want. I've just specified the line-height to make the browsers consistent.
Code:
<!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>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
.navheader {
font-family: Century Gothic, Arial, Helvetica, sans-serif;
color: #F9D4A8;
font-weight: bold;
font-size: 14px;
padding-left: 12px;
margin-bottom: 4px;
margin-top: 0;
}
/* Menu controls */
#navcontainer {
width: 190px;
background-color: #471403;
}
#navcontainer ul {
margin: 0;
padding:0;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
}
#navcontainer li {
list-style-type: none;
background: url(images/bullet.gif) no-repeat top left;
padding:0;
margin:0;
line-height:16px;
}
#navcontainer a {
display: block;
padding:0 0 0 20px;
overflow:hidden;
background-color: #471403;
}
/* commented backslash mac hiding hack \*/
#navcontainer a {height:1%;}
/* end hack */
#navcontainer a:link, #navlist a:visited {
color: #EEE;
text-decoration: none;
}
#navcontainer a:hover {
background-color: #9A3D1F;
color: #ffffcc;
/* Highlight active page.*/
}
body#intro a#intronav,
body#mission a#missionnav,
body#faculty a#facnav {
color:#ffffcc;
font-weight: bold;
background:#791900;
display: block;
}
</style>
</head>
<body>
<div id="navcontainer">
<ul id="navlist">
<h3 class="navheader">About the Project</h3>
<li><a href="intro.html" id="intronav">Introduction </a></li>
<li><a href="mission.html" id="missionnav">Mission </a></li>
<li><a href="faculty.html" id="facnav">Faculty </a></li>
</ul>
</div>
</body>
</html>
Just in case you can't read that code block (although I can't think why) then here's the code again.
<!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>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
.navheader {
font-family: Century Gothic, Arial, Helvetica, sans-serif;
color: #F9D4A8;
font-weight: bold;
font-size: 14px;
padding-left: 12px;
margin-bottom: 4px;
margin-top: 0;
}
/* Menu controls */
#navcontainer {
width: 190px;
background-color: #471403;
}
#navcontainer ul {
margin: 0;
padding:0;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
}
#navcontainer li {
list-style-type: none;
background: url(images/bullet.gif) no-repeat top left;
padding:0;
margin:0;
line-height:16px;
}
#navcontainer a {
display: block;
padding:0 0 0 20px;
overflow:hidden;
background-color: #471403;
}
/* commented backslash mac hiding hack \*/
#navcontainer a {height:1%;}
/* end hack */
#navcontainer a:link, #navlist a:visited {
color: #EEE;
text-decoration: none;
}
#navcontainer a:hover {
background-color: #9A3D1F;
color: #ffffcc;
/* Highlight active page.*/
}
body#intro a#intronav,
body#mission a#missionnav,
body#faculty a#facnav {
color:#ffffcc;
font-weight: bold;
background:#791900;
display: block;
}
</style>
</head>
<body>
<div id="navcontainer">
<ul id="navlist">
<h3 class="navheader">About the Project</h3>
<li><a href="intro.html" id="intronav">Introduction </a></li>
<li><a href="mission.html" id="missionnav">Mission </a></li>
<li><a href="faculty.html" id="facnav">Faculty </a></li>
</ul>
</div>
</body>
</html>
Hope thats what you wanted.
Paul
Bookmarks