Pregunta

Does any body know first-child and last-child support old IE like IE6 and IE7.

I think when using jQuery it works, is that right ?

is it problem with CSS only ?

¿Fue útil?

Solución

From http://www.quirksmode.org/css/contents.html :

first-child: IE6: No. IE7/8: Yes with caveats. IE9+: yes.

last-child: IE6/7/8: No. IE9+: Yes.

jQuery supports them everywhere.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top