title: How do I/can I recursively indent div's with a class?
body: <p>I'm looking at a page of html code that follows this pattern:</p>
  
  <pre><code>&lt;div id='1' class='someclass'&gt;
    contents
    &lt;div id='2' class='someclass'&gt;
      other contents
      &lt;div id='3' class='someclass'&gt;
        yet even more contents
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I'm looking to indent the contents of the inner divs, without changing their class, such that the page will be displayed so:</p>
  
  <pre><code>contents
    other contents
      yet even more contents
  </code></pre>
  
  <p>Is this feasible through manipulation of 'someclass'? If so, how?</p>
  
  <p>Note that the divs may contain some other, fairly simple html - such as headings, lists, etc...</p>