title: Moving a div to another position, but only if it is contained in another div?
body: <p>I have a div like this:</p>
  
  <pre><code>&lt;div class="someclass"&gt;
      ....
  &lt;/div&gt;
  </code></pre>
  
  <p>How can I say that the div should only be moved, if any of the parent divs hass class XYZ?</p>
  
  <p>Thanks!</p>