How can i tell if a css property such as width ex: width:100% has px or % assigned to it.
in chrome for example if i have width:250px; and i do $('div').width() i get 250 whereas if i use percentage, i just get the width in px for the percentage based on my screen resolution.
How can i tell if a css property such as width ex: width:100% has
Share
This should work.
JSBin: http://jsbin.com/asewit/2/edit#javascript,html