title: select the element before the last using nth child regardless of how many elements you have?
body: <p>Ok, so I was reading <a href="http://css-tricks.com/how-nth-child-works/" rel="nofollow">http://css-tricks.com/how-nth-child-works/</a> (and looking around the web) about the :nth-child pseudo class and I can’t find anything related to the issue I have:</p>
  
  <p>Is there a way to select, for example, the element before the last regardless of how many elements you have?</p>
  
  <p>For example: I have a list of horizontal links in a nav bar, but I need to select the one before the last one regardless of how many links I have in that nav bar.</p>
  
  <p>Does this make sense? Can that be done using the :nth-child pseudo class?… or in any other way for that matter?</p>
  
  <p>I’ve been cracking my head with this one for several days already.</p>
  
  <p>Thanks.</p>