Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:11
Mouseover gives border problems
Poster: henrik __at__ itide.dk
Dated: Thursday September 9 2004 - 10:31:31 BST
Look at
http://tannoy.tc.itide.dk/
At mouseover the bottom border fades in the submenus.
Can anybody help?
Thanks
Henrik
Poster: Ruth
Dated: Thursday September 9 2004 - 18:17:04 BST
The problem is coming from the .css file, this line:
Code:
#navigation {
PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BACKGROUND: url(shadow_navigation.gif) repeat-x 50% bottom; PADDING-BOTTOM: 0px; MARGIN: 0px 0px 6px; PADDING-TOP: 0px; HEIGHT: 24px
}
It's related to the background. I realize you don't want to remove that, I did find one solution, though you may not want to use it. I used the border color you had listed in your style 3 definition for the submenus. If you add this line to the style 3 definition [and any other where the border is disappearing] PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BACKGROUND: url(shadow_navigation.gif) repeat-x 50% bottom; PADDING-BOTTOM: 0px; MARGIN: 0px 0px 6px; PADDING-TOP: 0px; HEIGHT: 24px
}
Code:
onborder="1px solid #979797";
When you mouseover there will be a border put completely around the item. You'd need it in any style where you're losing the bottom border.
Ruth