Reputation: 33
So im stuck with something very basic. Im trying to determine the width of a text contained in a div with a image. The thing is, the width of the paragraph is the same as the one of the div element, but the text is wrapped in another width. Is there any option to get the width I want.
This is the width of the paragraph:
But the width I want is something like this:
The page of reference is this one: https://wikifaunia.com/aves/como-cuidar-a-un-agaporni/
Thanks in advance
Upvotes: 0
Views: 187
Reputation: 36
i think you can with just math.
So 787 - 330 = 457.
Your text width is 457px.
Upvotes: 1