What is the difference between the values returned by .width()
from jQuery, .css('width')
from jQuery, and the .style.width
attribute on a node?
I'm curious because, in trying to set the width of two table cells to be equal, the first two gave me the same wrong answer. What are they actually measuring, and why is it not the same as the value that I can see in the .style
attribute when I view the element in a browser?
sytle.width
, there's still notthing showed..