title: Add class to last item
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/5263696/change-repeater-li-item-class-if-first-or-last">change repeater li item class if first or last</a>  </p>
  </blockquote>
  
  
  
  <p>Im working on a .net website which I've never worked with before.</p>
  
  <p>I have the following that outputs 4 divs...</p>
  
  <pre><code>&lt;asp:Repeater ID="RT_Ranges" runat="server"&gt;
      &lt;ItemTemplate&gt;
          &lt;div class="item"&gt;
              &lt;h4&gt;
                  &lt;%# Eval("Category_Name")%&gt;&lt;/h4&gt;
              &lt;asp:Image ID="Image1" ImageUrl='&lt;%# Eval("Img") %&gt;' runat="server" Height="92" Width="79" /&gt;
              &lt;p&gt;
                  &lt;%# Eval("des") %&gt;&lt;/p&gt;
              &lt;asp:HyperLink ID="HL_More" NavigateUrl='&lt;%# Eval("nav") %&gt;' runat="server"&gt;View More&lt;/asp:HyperLink&gt;
          &lt;/div&gt;
      &lt;/ItemTemplate&gt;
  &lt;/asp:Repeater&gt;
  </code></pre>
  
  <p>I want to add a class to the last DIV outputted from the above, is this possible and if so how would I do it? </p>