Jump to content

Css Menus


dropfaith

Recommended Posts

http://www.lawrenceguide.org/ is here im having issues with the hover if i set a padding of 5 it works but less it fails

 

in case i missed anything in the full css file cause this i posted links below the menu id is nav

css

http://www.lawrenceguide.org/template/mainstyle.css

 

http://www.lawrenceguide.org/template/fall/style.css

 

/* the horizontal menu starts here */
ul#nav {border-bottom:1px solid #e07f3a;}

ul#nav li ul li{
width:auto;border-bottom:1px solid #e07f3a;
}

/* Styles for Menu Items */
ul#nav li a {
display: block;
color: #e07f3a;
border-bottom:1px solid #e07f3a;
background: #3b2319; /* IE6 Bug */

}
ul#nav li a:hover {
display: block;
color: #822516;

background: #3b2319; /* IE6 Bug */

}	


/* Holly Hack. IE Requirement \*/
* html ul#nav li { float: left; height: 1%; }
* html ul#nav li a { height: 1%; }
/* End */

ul#nav li:hover ul, li.over ul { display: block;width:320px } /* The magic */
/* the menu ends here */

 

Link to comment
https://forums.phpfreaks.com/topic/126839-css-menus/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.