Jump to content

Estimating Line Breaks - Solved With Thanks


niche

Recommended Posts

If I have a div that's 300px by 20px, is there a function that calculates whether a string will display with a line break, given font-size of 21px? If not, I'll have to create some code, but if it's already available, that's even better.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...