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
This is easy using a JavaScript framework. I'm using Prototype in this example.
hello this is sample text