how to get the margin-top with jquery when inline
<p>Hi this is an example of my code. I want to get the margin-top from all the "divs" contained in the div appointmentContainer.</p>

<pre><code>&lt;div class="appointmentContainer"&gt;
    &lt;div style="width: 940px; z-index: 8; background-color: yellow; position: absolute; margin-top: 0px;" class="a_162"&gt;
        &lt;a id="a_162" class="appointments"&gt;414&lt;br/&gt;&lt;/a&gt;
    &lt;/div&gt;
    &lt;div style="width: 940px; z-index: 8; background-color: yellow; position: absolute; margin-top: 15px;" class="a_164"&gt;
        &lt;a id="a_164" class="appointments"&gt;aaaa&lt;br/&gt;&lt;/a&gt;
    &lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p>so I have something like ths and I want to find the margin-top's in both of the above divs.</p>

<p>So so far I have this</p>

<pre><code>$('#a_162').parents('div:eq(0)').children('a');
</code></pre>

<p>So thats what I have so far. I want to find all the anchor tags from that parent div what is appointmentcontainer and get a list of all the margin-tops.</p>

<p>So I would like a list like</p>

<pre><code>margin-top : 0
margin-top: 15
</code></pre>

<p>or </p>

<pre><code>0
15
</code></pre>
