PDA

View Full Version : Bg color width hover off in IE


tacotac
10-06-2010, 01:48 AM
http://www.tacotac.net/ajsafety/

I adjusted the width of my ul li to auto, so all the text would show in the submenu links, but in IE the hover color does not extend to the length of the submenu box, only to the text length. In firefox no issues. Where can I fix this?

edbr
10-06-2010, 02:21 AM
looks the same in ie8 as firefox. which ie are you using?

tacotac
10-06-2010, 02:25 AM
Mine is IE 7

tacotac
10-06-2010, 02:28 AM
I pasted the link for IE 8 in my IETester, but the hover color doesn't extend to the length of the submenu box either. Hmmm...

edbr
10-06-2010, 02:40 AM
setting at auto the menu will extend to the length of the text both in the ul and Li states. which to me looks like what it is doing. or am i missing something?

DWcourse
10-06-2010, 03:34 AM
The problem is in the submenus.

Try creating a ul.MenuBarHorizontal ul a (for links in submenus only) style rule and setting the width to 100% and see if that works.