[Javascript] is their a javascript function, or DOM property to find the char limit of a table cell or div?

John Warner john at jwarner.com
Tue Jan 30 12:20:10 CST 2007


Wouldn't the font the user has selected for his browser (if he chose to
override page - say vision problems) impact this?
 
 
John Warner

-----Original Message-----
From: javascript-bounces at LaTech.edu
[mailto:javascript-bounces at LaTech.edu] On Behalf Of Lee Bettridge
Sent: Tuesday, January 30, 2007 11:25 AM
To: [JavaScript List]
Subject: [Javascript] is their a javascript function,or DOM property to
find the char limit of a table cell or div?



 I need to manually scroll a large body of text in a table cell or div
tag and was wondering if their is a way to find out how many characters
will fit into an area of a given size ?

 

Normally in a browser environment any overflow would automatically be
handled by scroll bars (unless scroll bars are explicitly turned off),
but I am working in a TV browser and remote control environment and
cannot use scroll bars.

 

Lee.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20070130/2df682d9/attachment.htm>


More information about the Javascript mailing list