dpkyte
05-24-2007, 08:51 PM
I want to display the menu items on the bottom of the image. This works in I.e, but not Firefox. Any thoughts on what is causing this to not work? I know there are some threads on this but I cannot seem to locate the proper one.
//*** CSS **///
#menu{
width: 100%;
height: 150px;
float:left;
font-family: Verdana, Arial, sans-serif;
color: #000000;
text-align: bottom;
font-size: 12pt;
background:#c0c0c0 url(images/banner.jpg);
}
#menu a, #menu h2{
font:bold 11px/16px arial,helvetica,sans-serif;
display:block;
color: #660000;
white-space:nowrap;
margin:0;
padding:1px 0 1px 3px;
}
#menu h2{
color: #660000;
}
/* drop down color prior to hover */
#menu a{
text-decoration: none;
}
#menu a, #menu a:visited{
color:#660000;
font-size: 12px;
}
#menu a:hover{
color:#060;
}
#menu a:active{
color:#0066ff;
}
#menu ul{
list-style:none;
margin:0;
padding:00;
float:left;
width:110px;
}
#menu li{
position:relative;
}
#menu ul ul{
position:absolute;
z-index:500;
top:auto;
display:none;
}
#menu ul ul ul{
top:0;
left:100%;
}
//*** HTML: **///
<table width=756px height='150' align='center'>
<tr><td id="menu" valign='bottom'>
<ul><li><a href="index.php" id="csstip">Home</a></li></ul>
<ul><li><a href="test1.php" id="csstip">Test 1</a></li></ul>
<ul><li><a href="test2.php" id="csstip">Test 2</a></li></ul>
<ul><li><a href="test3.php" id="csstip">Test 3</a></li></ul>
<ul><li><a href="test4.php" id="csstip">Test 4</a></li></ul>
<ul><li><a href="test5.php" id="csstip">Test 5</a></li></ul>
</td></tr>
</table>
Thanks much.
//*** CSS **///
#menu{
width: 100%;
height: 150px;
float:left;
font-family: Verdana, Arial, sans-serif;
color: #000000;
text-align: bottom;
font-size: 12pt;
background:#c0c0c0 url(images/banner.jpg);
}
#menu a, #menu h2{
font:bold 11px/16px arial,helvetica,sans-serif;
display:block;
color: #660000;
white-space:nowrap;
margin:0;
padding:1px 0 1px 3px;
}
#menu h2{
color: #660000;
}
/* drop down color prior to hover */
#menu a{
text-decoration: none;
}
#menu a, #menu a:visited{
color:#660000;
font-size: 12px;
}
#menu a:hover{
color:#060;
}
#menu a:active{
color:#0066ff;
}
#menu ul{
list-style:none;
margin:0;
padding:00;
float:left;
width:110px;
}
#menu li{
position:relative;
}
#menu ul ul{
position:absolute;
z-index:500;
top:auto;
display:none;
}
#menu ul ul ul{
top:0;
left:100%;
}
//*** HTML: **///
<table width=756px height='150' align='center'>
<tr><td id="menu" valign='bottom'>
<ul><li><a href="index.php" id="csstip">Home</a></li></ul>
<ul><li><a href="test1.php" id="csstip">Test 1</a></li></ul>
<ul><li><a href="test2.php" id="csstip">Test 2</a></li></ul>
<ul><li><a href="test3.php" id="csstip">Test 3</a></li></ul>
<ul><li><a href="test4.php" id="csstip">Test 4</a></li></ul>
<ul><li><a href="test5.php" id="csstip">Test 5</a></li></ul>
</td></tr>
</table>
Thanks much.