when I use .css(\'font-size\') in jquery, it returns the value in pixels, is there any way to making it to give it in points ? it\'s because I want to use it in php gd, and
If your font-size is defined in pt then you may access the fontSize property of element.style as follows...
font-size
pt
fontSize
element.style
var element = document.getElementById('my_element'), //return size as it is defined fontSize = element.style.fontSize;