CodePen

HTML

            
              <div id="container">
  
  <?php echo $dynamicList; ?>
  
</div>
            
          
!

CSS

            
              #contentWrapper{
	border-bottom:solid 1px black;
}

#container #contentWrapper:last-child{
  border-bottom:none;
}
            
          
!

JS

            
              $dynamicList.='
	<div id="contentWrapper">
    <table>
    <tr>
      <td>Some content</td>
    </tr>
    </table>
  </div>';
            
          
!
999px
Loading ..................