Please try with document.formname.getElementById("elementName").style.wordWrap="normal" the syntax elementId.style.wordWrap="break-word" is used for introducing word wrap. I think this is the reverse case
This may not be quite what you're looking for, but if you hide the overflow it won't wrap. The potential problem with this is that you will probably also need to explicitly set the width and height of the element (otherwise it will collapse completely) e.g.
There may also be a way to set just the horizontal overflow (elem.style.overflowX, maybe) in which case you would only need to specify the width, e.g.
[ January 04, 2007: Message edited by: Joel Jorgensen ]
Go is to the fountain.
Joined: Sep 02, 2005
Hey Ajith, Thanks for reply. Welcome to Javaranch. Unfortunately your post didn't work. Hey Joel, your solution also didnt work for me.. Is that something you tried and working?