On Nov 8, 2010, at 9:32 PM, Lisa Frost wrote: > I've tried every combination of padding and margin i can think of, on the > <li> or the <a> tag and can not work out which tag i should be targeting to > get a hover effect where the background colour changes to fill the whole > menu item (ie box), not just behind the text. > > Sorry hard to explain, you can see what i mean by looking at the menu here: > http://www.diabetespolarflight.org/xhtml/template.html
#sidemainmenu li:hover {background-color: lime;} ought to do what you want, if I understood you correctly. Philippe --- Philippe Wittenbergh http://l-c-n.com/ ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/