CSS: selecting first or last list-cell in a ListView with CSS selector?
tobiApr 17 2012 — edited Apr 19 2012Is it possible to select the first and the last list item in a ListView control by CSS? I would like to style the first and last list-cell with another background than the middle items...
in CSS2 I can select the first child of a parent node with "node:first-child"
In JavaFX2 CSS reference guide I found that it's not possible at moment. Any other solution?
Tobi