Ver Mensaje Individual
  #4 (permalink)  
Antiguo 19/11/2008, 11:33
Avatar de willyfc
willyfc
 
Fecha de Ingreso: octubre-2008
Ubicación: Santa Cruz - Bolivia
Mensajes: 662
Antigüedad: 15 años, 7 meses
Puntos: 40
Respuesta: Duda con first-child

Cita:
Iniciado por Mikmoro Ver Mensaje
Pues depende, pero teniendo en cuenta que cada "li" sólo tiene un "a", sería un poco innecesario. Sin embargo, si lo que quieres es afectar sólo al primer "li" debería ser:

ul#menu li:first-child {...
perdón por la ignorancia que son first-child