<!-- m --><a class="postlink" href="http://www.vmspower.com/work/pandp.php">http://www.vmspower.com/work/pandp.php</a><!-- m -->
ok check out this page.
The problem i am having is that the hover menu is transparent and the links below show though the hover menu. Another issue I am having is that when the menu pops up the background is contained withing the table cell. is there a way to make this load over top of the page so it is not bothered by the table lay out?
here is the css code I used to creat the menus
ul.makeMenu, ul.makeMenu ul
{
/*width: 80px;*/ /* sets the size of the menu blocks */
border: 0px; /* puts a black border around the menu blocks */
background-color: #c64866; /* makes the menu blocks mint green - a bg-color MUST be included for IE to work properly! */
padding-left: 0px; /* stops the usual indent from ul */
cursor: default; /* gives an arrow cursor */
margin: 2px 0px 4px 0px; /* Opera 7 final's margin and margin-box model cause problems */
TEXT-DECORATION: underline;
}
ul.makeMenu li
{
list-style-type: none; /* removes the bullet points */
margin: 2px; /* Opera 7 puts large spacings between li elements */
position: relative; /* makes the menu blocks be positioned relative to their parent menu item
the lack of offset makes these appear normal, but it will make a difference
to the absolutely positioned child blocks */
color: #fff; /* sets the default font colour to white */
font-size: 9pt;
}
ul.makeMenu li > ul
{ /* using the > selector prevents many lesser browsers (and IE - see below) hiding child ULs */
display: none; /* hides child menu blocks - one of the most important declarations */
position: absolute; /* make child blocks hover without leaving space for them */
top: 7px; /* position slightly lower than the parent menu item */
left: 78px; /* this must not be more than the width of the parent block, or the mouse will
have to move off the element to move between blocks, and the menu will close */
}
ul.makeMenu li:hover, ul.makeMenu li.CSStoHighlight
{
background-color: #c77766; /* gives the active menu items a yellow background */
color: #000; /* makes the active menu item text black */
}
ul.makeMenu ul.CSStoShow
{ /* must not be combined with the next rule or IE gets confused */
display: block; /* specially to go with the className changes in the behaviour file */
}
ul.makeMenu li:hover > ul
{ /* one of the most important declarations - the browser must detect hovering over arbitrary elements
the > targets only the child ul, not any child uls of that child ul */
display: block; /* makes the child block visible - one of the most important declarations */
}
/* and some link styles */
ul.makeMenu li a
{
color: #fff;
display: block;
font-weight: 900;
text-decoration: none;
}
ul.makeMenu li a:hover, ul.makeMenu li a.CSStoHighLink
{
color: #000;
}
ul.makeMenu li:hover > a
{
color: #000;
} /* supports links in branch headings - must not be display: block; */
/* that IE 5+ conditional comment makes this only visible in IE 5+ */
ul.makeMenu li
{ /* the behaviour to mimic the li:hover rules in IE 5+ */
behavior: url( files/IEmen.htc );
}
ul.makeMenu ul
{ /* copy of above declaration without the > selector */
display: none;
position: absolute;
top: 2px;
left: 78px;
}
any help would be appreciated.bump
ok check out this page.
The problem i am having is that the hover menu is transparent and the links below show though the hover menu. Another issue I am having is that when the menu pops up the background is contained withing the table cell. is there a way to make this load over top of the page so it is not bothered by the table lay out?
here is the css code I used to creat the menus
ul.makeMenu, ul.makeMenu ul
{
/*width: 80px;*/ /* sets the size of the menu blocks */
border: 0px; /* puts a black border around the menu blocks */
background-color: #c64866; /* makes the menu blocks mint green - a bg-color MUST be included for IE to work properly! */
padding-left: 0px; /* stops the usual indent from ul */
cursor: default; /* gives an arrow cursor */
margin: 2px 0px 4px 0px; /* Opera 7 final's margin and margin-box model cause problems */
TEXT-DECORATION: underline;
}
ul.makeMenu li
{
list-style-type: none; /* removes the bullet points */
margin: 2px; /* Opera 7 puts large spacings between li elements */
position: relative; /* makes the menu blocks be positioned relative to their parent menu item
the lack of offset makes these appear normal, but it will make a difference
to the absolutely positioned child blocks */
color: #fff; /* sets the default font colour to white */
font-size: 9pt;
}
ul.makeMenu li > ul
{ /* using the > selector prevents many lesser browsers (and IE - see below) hiding child ULs */
display: none; /* hides child menu blocks - one of the most important declarations */
position: absolute; /* make child blocks hover without leaving space for them */
top: 7px; /* position slightly lower than the parent menu item */
left: 78px; /* this must not be more than the width of the parent block, or the mouse will
have to move off the element to move between blocks, and the menu will close */
}
ul.makeMenu li:hover, ul.makeMenu li.CSStoHighlight
{
background-color: #c77766; /* gives the active menu items a yellow background */
color: #000; /* makes the active menu item text black */
}
ul.makeMenu ul.CSStoShow
{ /* must not be combined with the next rule or IE gets confused */
display: block; /* specially to go with the className changes in the behaviour file */
}
ul.makeMenu li:hover > ul
{ /* one of the most important declarations - the browser must detect hovering over arbitrary elements
the > targets only the child ul, not any child uls of that child ul */
display: block; /* makes the child block visible - one of the most important declarations */
}
/* and some link styles */
ul.makeMenu li a
{
color: #fff;
display: block;
font-weight: 900;
text-decoration: none;
}
ul.makeMenu li a:hover, ul.makeMenu li a.CSStoHighLink
{
color: #000;
}
ul.makeMenu li:hover > a
{
color: #000;
} /* supports links in branch headings - must not be display: block; */
/* that IE 5+ conditional comment makes this only visible in IE 5+ */
ul.makeMenu li
{ /* the behaviour to mimic the li:hover rules in IE 5+ */
behavior: url( files/IEmen.htc );
}
ul.makeMenu ul
{ /* copy of above declaration without the > selector */
display: none;
position: absolute;
top: 2px;
left: 78px;
}
any help would be appreciated.bump