Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS selecting list items all but last? Re: selecting list items all but last?

#55460
seeingsound
Member

I have used jQuery with almost the same problem:


jQuery(document).ready(function($) {
$('#nav li:not(:last)').addClass('star');
});