When you code CSS menus in static pages is easy to add first or last classes on your list tags. Things get more complicated when you integrate the template into a dynamic content management like WordPress.