Cytat(phpion @ 27.03.2009, 20:29:52 )

Szczególnie w IE6.
A czemu nie? Jeśli dla jakiegoś
elementu chcesz skorzystać z
first-child w stylach ogólnych dajesz:
Kod
element:first-child, element.first-child {
/* --- */
}
A w stylach warunkowwych dla IE6 dajesz:
Kod
element {
-ie-xp: expression(
this.parsed ? 0 : (
this.className = (this === this.parentNode.firstChild) ? "first-child" : "",
this.parsed = 1
)
);
}