Is there a way to use jQuery to figure out the type of width an element has? Whether it's an exact width (like 200px
) or a relative width (such as 20%
).
I would also like to be able to detect if the element doesn't have any kind of width specifically set, either in the CSS file or inline styles.
How would I go about doing this? Thank you so much in advance!