[wp-hackers] Adding class to first menu item of submenu in wp_nav_menu
otto at ottodestruct.com
Mon Jun 28 01:06:28 UTC 2010
Actually, according to your link, it does work in IE7 and up. The
On Sun, Jun 27, 2010 at 7:29 PM, Mike Schinkel
<mikeschinkel at newclarity.net> wrote:
>> Why would you need that? Just use "ul.sub-menu li:first-child". CSS2
>> has you covered on that score.
> FYI, li:first-child doesn't work 100% in IE8 nor at all in IE7, unfortunately.
>  http://www.quirksmode.org/css/contents.html
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers