afoongwl215 0 Report post Posted February 27, 2010 Hi, i have this problem currently. Take for instance i have <table width=20>text text</table> text text This will display fine whereas <table width=20>text text text text text text text text</table> text text text text text text text textt Will cause it to wrap to the next line. What im doing currently us using javascript to detect he length of the text and appending a <marquee> tag before those that have exceeded the required length. However, i realize that other things plays a part in determining if the word is wrapped for instance capital letter size is different from normal letters. Is there a way for me to determine if a table column has been word warped using javascript? Share this post Link to post Share on other sites
Baniboy 3 Report post Posted February 27, 2010 I don't know much about your problem or javascript, but it might be caused by quirks mode. A table element must contain table row and table cell elements by the W3 standards. So put in <tr> and <td> tags, try again and see if it works. Share this post Link to post Share on other sites
afoongwl215 0 Report post Posted February 27, 2010 I don't know much about your problem or javascript, but it might be caused by quirks mode. A table element must contain table row and table cell elements by the W3 standards. So put in <tr> and <td> tags, try again and see if it works. Hi, In my actual implementation all tables have Tr/td tags etc. the actual problem itself is the word wrap. therefore, im asking if there's a way to detect if an element is has been wordwraped. Share this post Link to post Share on other sites