Scenario: You have a div with some text, this div has no css width, no jquery width, no width attribute assigned to it in any way. However it has a width due to the content that is inside it, this is undefined, reports as "null" in jQuery. My question is: is there any way to retireve the width of this div?
divdoes in fact report a width when using jQuery. here's a simple example at jsFiddle. Maybe there is something special about your scenario -- can you elaborate?divdoesn't get it's width from the content within it but will get it's height from that. So I believe the default width of adivis the width of it's container, maybe you could grab that?