How do i get the css properties by specifying its id
<p><a href="http://stackoverflow.com/questions/590602/padding-or-margin-value-in-pixels-as-integer-using-jquery">Padding or margin value in pixels as integer using jQuery</a>
after reading the above Answers . One of the user exaplained these </p>

<pre><code> alert($("a").css("margin-top"));
</code></pre>

<p>Now I wanted to do these</p>

<pre><code> alert($("#cool").css("margin-top")); ' #cool is my table id &lt;table id="cool"&gt;
</code></pre>

<p>but it did not work. How do i get the css properties of a tag by specifying its id ?</p>
