0
We usually take the width width of a div or any other tag within the page.
How can one pick up the width of a plain text? For example:
Um texto
How do I know the width this text occupies on the Javascript page?
It’s not the string size, it’s the pixel width.
Just wrap the text in a
spanand capture the attributeoffsetWidthhis.– Valdeir Psr