PDA

View Full Version : Resolved Background of mega menu appears transparent.



naremkim
07-21-2011, 02:22 PM
1) Script Title: DD Mega Menu

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/ddmegamenu.htm

3) Describe problem: I set id="mega" as following.

.mega{
width:350px; /*default width of mega menu 300px*/
padding:0;
position:absolute;
visibility:hidden;
border:5px solid #cd0000;
background:white;
-webkit-box-shadow: 5px 5px 5px #c8c8c8; /*css 3 shadows*/
-moz-box-shadow: 5px 5px 5px #c8c8c8;
box-shadow: 5px 5px 5px #c8c8c8;
}
The background of mega menu appears transparent but not white.
Please confer News item at http://www.ehyeh.com/EhyehTest4.html. Anyone can help ?

ddadmin
07-21-2011, 05:51 PM
Inside ddmegamenu.css, remove the HTML comments, which isn't valid CSS:


.mega{
width:350px; /*default width of mega menu 300px*/
padding:0; <!-- originally padding:10px; -->
position:absolute;
visibility:hidden;
border:5px solid #cd0000; <!-- originally border:2px solid black;-->
<!-- originally border-top-width:1px; -->

naremkim
07-22-2011, 07:39 AM
Thanks very much. I have resolved it. I appreciate for the magnificent DD Mega Menu.