title: How can I measure how many characters will fit the width of the document?
body: <p>I need to write, in JavaScript (I am using jQuery), a function that is aware of the number of characters that fit in a line of the browser window.  I'm using a monospace font to ease the problem, but it would be better if I generalize it for different fonts.</p>
  
  <p>How can I know how many characters would fill a row in the browser? The intention is to count the number of characters that fill a line.</p>