Let\'s say I have the string \"Hello\". This string is obviously five characters in length, but what is its length in pixels? Is there an easy way to determine this length i
You can determine the number of pixels the container of the string. You can do this by creating a hidden element in the DOM, setting the inner HTML to the string and then asking for the width.