p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Beginning ASP.NET 4.5 : in C# and VB (http://p2p.wrox.com/forumdisplay.php?f=710)
-   -   Chapter 7 Styling the Menu (http://p2p.wrox.com/showthread.php?t=93083)

honzabilek4 June 15th, 2014 07:45 AM

Chapter 7 Styling the Menu
Does anybody happen to know,why is this css selector affecting the level 2 submenus?(p.266)

ul.level1 .selected
/* Defines the appearance of active menu items. */
background-color: #509EE7;

Imar June 15th, 2014 09:41 AM

Hi there,

This addresses selected inside the ul.level1 element. Your level 2 items are contained inside this level 1 item, and are thus affected as well.

Hope this helps,


honzabilek4 June 15th, 2014 10:40 AM

That's it!
I just didn't noticed.
Thanks Imar

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

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.