In Javascript, I have a certain string, and I would like to somehow measure how much space (in pixels) it will take within a certain element.
Basically what I have i
try this
http://blog.mastykarz.nl/measuring-the-length-of-a-string-in-pixels-using-javascript/