Asp – Styling last item in a ListView


is there any easy way to style the last item in a ListView control? Basicly need to append a class.


Best Solution

There is


pesudo class.

But won't work in all browsers.

The best way is to add a css class to the last item in the listview and style it.

If you can use jQuery then you can use the