If I have an element with css style like code
td class="bogus" style="padding-left: 1em;"
, how can I use jquery to get padding-left value as 1em instead of pixels?
$(".bogus").css("padding-left");
This only returns the pixels, but I want it to return what's really in the code, in this case, relative value 1em instead. How ?
Thanks for any guide.
- Qu