Hi - I am working on a menu and have incountered a prblem with the border. The code works fine in FF, but not in IE 6. Any suggestions would be appreciated. Thanks...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"
<html xmlns=" xml:lang="en" lang="en">
<head>
<title>Test Menu</title>
<style type="text/css">
* {
padding: 0;
margin: 0;
}
#menu {
display:block;
font-weight: bold;
top:8em;
left:1em;
position:fixed;
border:1px solid #888;
width:99px;
text-align:center;
font-size: 80%;
font-weight:bold;
text-decoration:none;
list-style: none;
padding:0;
}
* html #menu {
position:absolute;
}
#menu a:visited, #menu a {
display:block;
width:100px;
height:20px;
margin:0 auto;
border-top:1px solid #fff;
border-bottom:1px solid #000;
text-align:center;
text-decoration:none;
line-height:20px;
color:#000;
padding:0;
}
#menu a:hover {
background:#aaa;
color:#fff;
}
</style>
</head>
<body>
<div id="menu">
<li><a href=" title="Home">Test 1</a></li>
<li><a href=" title="Home">Test 2</a></li>
<li><a href=" title="Home">Test 3</a></li>
<li><a href=" title="Home">Test 4</a></li>
<li><a href=" title="Home">Test 5</a></li>
<li><a href=" title="Home">Test 6</a></li>
</div>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"
<html xmlns=" xml:lang="en" lang="en">
<head>
<title>Test Menu</title>
<style type="text/css">
* {
padding: 0;
margin: 0;
}
#menu {
display:block;
font-weight: bold;
top:8em;
left:1em;
position:fixed;
border:1px solid #888;
width:99px;
text-align:center;
font-size: 80%;
font-weight:bold;
text-decoration:none;
list-style: none;
padding:0;
}
* html #menu {
position:absolute;
}
#menu a:visited, #menu a {
display:block;
width:100px;
height:20px;
margin:0 auto;
border-top:1px solid #fff;
border-bottom:1px solid #000;
text-align:center;
text-decoration:none;
line-height:20px;
color:#000;
padding:0;
}
#menu a:hover {
background:#aaa;
color:#fff;
}
</style>
</head>
<body>
<div id="menu">
<li><a href=" title="Home">Test 1</a></li>
<li><a href=" title="Home">Test 2</a></li>
<li><a href=" title="Home">Test 3</a></li>
<li><a href=" title="Home">Test 4</a></li>
<li><a href=" title="Home">Test 5</a></li>
<li><a href=" title="Home">Test 6</a></li>
</div>
</body>
</html>