title: Apply css to elements of div in parents inline style
body: <p>Here is my html code ,</p>
  
  <pre><code>&lt;div class="parent"&gt;
  
  &lt;/div&gt;
  </code></pre>
  
  <p>I am adding one div inside the parent div on runtime, It would be like this ,</p>
  
  <pre><code>&lt;div class="parent"&gt;
     &lt;div class='child'&gt;
     &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Is there is any way to add style to child div using parent div ? Means can I do something like , </p>
  
  <pre><code>&lt;div class="parent" style="SET LEFT MARGIN FOR CHILD ELEMENT "&gt;
  
  &lt;/div&gt;
  </code></pre>
  
  <p>So when child is added to parent div , the style will be automatically applied to child.</p>