As per the title really.
If notice that if I check $(elem).css('margin-top') it returns 0px even though I haven't explicitly set this style, either inline or in a stylesheet.
Basically I am setting the margin each time I hover over an element (to vertically align some content) so would rather just do this once.
I can't set the alignment on page load because the elements are hidden (display:none) so it needs to be done at the time they are displayed.