The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Add line add every 700 of the page. Reply To: Add line add every 700 of the page.


Not sure how that would work but the fixed amount of 700px seems kind of arbitrary depending on the element width.

I think the calculation might be a little more complex than you might be envisaging. What about font-size, a character count, whitespace and then provide a warning that a new page is required after a certain point.

However, that’s waaaay beyond any skills I have.