I have a DIV container filled with a dynamic text. The length of the text can be different. The DIV container has a fixed height but no width.
DIV
Here is the syntax to go about:
var div = document.getElementById(columnWrapper); var width = div.css("width"), var height = div.css("height");