[RESOLVED] Menu Selected Item Background Color

Does anyone know how to change the background color of a selected menu item?  The background color changes on the word of the dropdown menu but not the entire row section of the menu item.  Each menu item has a different word length but I want the background color length to be consistent throughout the dropdown dynamic menu.  I also what to change the background parent when a menu item is selected. 

ok first to get the parent to change color when a child is selected you have to write a special control for that or some kind of helper class but to get the entire item to change background color you use

<asp:menu>

<StaticSelectedStyle BackColor="color of choise" />

<StaticSelectedStyle BackColor="color of choise" />

</asp:menu>

if you use the css it usually just changes the background on the text.

thoughts on "[RESOLVED] Menu Selected Item Background Color"

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>