A
Andrew Poulos
Within text in a P element is it possible to know the height, width, and
relative position of individual letters?
Andrew Poulos
relative position of individual letters?
Andrew Poulos
Within text in a P element is it possible to know the height, width, and
relative position of individual letters?
Within text in a P element is it possible to know the height, width, and
relative position of individual letters?
Andrew Poulos meinte:
No. Since you can't access the metrics of a single letter.
In comp.lang.javascript message <[email protected]>,
But, given the name/ID of the P element, I suppose that one might by DOM
methods get its text, insert <span> </span> around the target letter,
and access the metrics of that span.
In comp.lang.javascript message <[email protected]>,
But, given the name/ID of the P element, I suppose that one might by DOM
methods get its text, insert <span> </span> around the target letter,
and access the metrics of that span.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.