logo-dw

Go Back   Dreamweaver Club Forums > Dreamweaver forums > Spry
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 12-11-2009, 06:46 PM   #11
DWcourse
DWcourse's Avatar
 
Join Date: Apr 2009
Posts: 3,276
Default

What Browser?
__________________
If my answer helped, check out DWcourse.com for Dreamweaver tips and tutorials.
DWcourse is offline   Reply With Quote
Old 12-11-2009, 07:11 PM   #12
stlcards1
 
Join Date: Dec 2009
Posts: 12
Default

IE8 and FF 3.0.15
stlcards1 is offline   Reply With Quote
Old 12-11-2009, 08:12 PM   #13
DWcourse
DWcourse's Avatar
 
Join Date: Apr 2009
Posts: 3,276
Default

Try adding the two style rules shown in code below at the location indicated:

Code:
/*******************************************************************************

 SUBMENU INDICATION: styles if there is a submenu under a given menu item

 *******************************************************************************/

ul.MenuBarHorizontal ul a
{
	background-color: #5A7EB4;
	color: #C1D0E1;
}

ul.MenuBarHorizontal ul a:hover
{
	background-color: #E3E9F1;
	color: #333;
}
__________________
If my answer helped, check out DWcourse.com for Dreamweaver tips and tutorials.
DWcourse is offline   Reply With Quote
Old 12-11-2009, 08:37 PM   #14
stlcards1
 
Join Date: Dec 2009
Posts: 12
Thumbs up

Holy cow you fixed it. Thank you. I haven't tried in other browsers beside IE or FF but not to worried about that

I don't know enough about spry or css to be able to figure it out.
Thanks again and go CARDS!
Chris
stlcards1 is offline   Reply With Quote
Old 12-11-2009, 09:00 PM   #15
DWcourse
DWcourse's Avatar
 
Join Date: Apr 2009
Posts: 3,276
Default

Also works in Safari and Chrome (at least on a Mac)

The trick is in the selectors used for the two style rules:

ul.MenuBarHorizontal ul a
ul.MenuBarHorizontal ul a:hover

By adding the extra ul before the link (a) tag we insure that it only applies to the links in sub or sub-sub menus. DW provided rules for the submenu items with their own submenus (the SubMenuItem rules) but the regular links without submenus were just picking up their styling from the main menu. Our two styles overwrite that.
__________________
If my answer helped, check out DWcourse.com for Dreamweaver tips and tutorials.
DWcourse is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:10 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com