Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: jQuery - Get original text size
08-13-2009, 04:07 PM #1
- Join Date
- Jun 2009
- Thanked 0 Times in 0 Posts
jQuery - Get original text size
Maybe someone can help me here. I need to get the font size from an element as it is set in the css for a font size detection function I am trying to write.
I have tried using:
$textCurrentSize = parseInt($('#myDiv li a').css('fontSize'));
What I really need is the original size as set out in the css.
Any ideas anyone?