Forum Moderators: not2easy
I can't figure out why!
Here's the code for the css:
/*Main Menu Area location*/
ul#navmenu {
float: right;
margin-top : 50px;
margin-left : 0px;
margin-right : 20px;
cursor: default;
list-style-type: none;
}
/*Main Menu Look*/
ul#navmenu a {
display : inline;
font : 14px 'lucida sans', 'lucida sans unicode', 'lucida grande', 'trebuchet ms', helvetica, arial, sans-serif;
font-weight: bold;
text-align:center;
background-color : #FFFFFF; /* Color behind words */
padding : 2px 10px 2px 10px; /* Top/right/bottom/left */
text-decoration : none;
color : #494036; /* color of text */
cursor : pointer; /* ADDED THIS (Needed for Opera due to selected styling) */
border-right: 1px solid #000000;
}
ul#navmenu li {
display: inline;
padding : 0px 0px 0px 0px; /* Top/right/bottom/left */
}
* html ul#navmenu li {
display: inline;
padding : 0px 0px 0px 0px; /* Top/right/bottom/left */
}
/* Submenu box area setup */
ul#navmenu li ul{
display: none;
margin-top: 0px;
margin-right : 0px;
border-left: 1px solid #000000;
border-bottom: 1px solid #000000;
padding : 0px 0px 0px 0px; /* Top/left/bottom/right */
}
ul#navmenu li ul li {
display:block;
}
ul#navmenu li:hover ul{/* Submenu location */
position: absolute;
display:block;
}
ul#navmenu li ul a {/* Submenu text setup */
background-color : #FFFFFF; /* Color behind words */
padding : 2px 14px 2px 14px; /* Top/left/bottom/right-space between submenu words and side lines */
color : #624931; /* color of text */
font : 12px 'lucida sans', 'lucida sans unicode', 'lucida grande', 'trebuchet ms', helvetica, arial, sans-serif;
font-weight: bold;
text-align:right;
}
ul#navmenu a:hover, ul#navmenu a:focus, ul#navmenu a:active,
ul#navmenu a.selected, ul#navmenu a.selected:hover, ul#navmenu a.selected:focus, ul#navmenu a.selected:active {
background-color : #494036; /* Color of selected page bar */
color : #FFFFFF; /* Color of selected page text */
}
ul#navmenu a:hover, ul#navmenu a:focus, ul#navmenu a:active {
background-color : #494036; /* Color of bar on rollover */
color : #FFFFFF; /* Color of text on rollover */
Here's the menu code in the html page:
<div id="header">
<ul id="navmenu">
<li><a href="http://www.example.com/index2.htm">Home</a></li>
<li><a href="http://www.example.com/AboutUs.htm">About Us</a></li>
<li><a href="http://www.example.com/Gallery1.htm">Galleries</a>
<ul>
<li><a href="http://www.example.com/Gallery1.htm">Gallery 1</a></li>
<li><a href="http://www.example.com/Gallery2.htm">Gallery 2</a></li>
<li><a href="http://www.example.com/Gallery3.htm">Gallery 3</a></li>
<li><a href="http://www.example.com/Gallery4.htm">Gallery 4</a></li>
<li><a href="http://www.example.com/Gallery5.htm">Gallery 5</a></li>
</ul>
</li>
<li><a href="http://www.example.com/Testimonials.htm">Testimonials</a></li>
<li><a href="http://www.example.com/Contact.htm">Contact Us</a></li>
</ul>
</div><!--header-->[
Any help/ideas would be greatly appreciated!
[edited by: swa66 at 5:19 am (utc) on Jan. 20, 2009]
[edit reason] use example.com, not actual domainnames [/edit]