I cannot get my method togglelineWrap to work on either Firefox nor IE6.
If I remove <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
things will work on IE6, but not on Firefox. Please, help, I cannot figure out what the problem is.
The toggleLineWrap function does not work on the 'modelContent' element.
The function is supposed to wrap the long list of fieldBox elements (different sizes and look as the style css indicates) that are contained in a 'modelContent' element.
Hope this helps get to the problem.
It only works on IE if I remove <!DOCTYPE ..., it does not work on Firefox no matter what I do.
A colleague of mine wrote this code, but he is no longer here, and I need to make it work.
I reduced the code even further.
See the div class='modelContent' ?
Inside it, there are several div class='fieldBox'.
All those fieldBoxes would have to be displayed either on the same single line ( with whitespace='nowrap') or wrapping the line (with whitespace = 'normal').