screenshot
02-22-2007, 08:26 PM
All,
A very strange thing is happening on some pages of a web application and I have to fix the defect. I didn't code the page and it is a .jsp page. JAVA code outputs data from HTML text boxes onto another page containing loads of tables and a few divs tags (the java developers here preferred tables vs. css).
We've set an HTML textarea to have a maxlength of 200 characters. However, when 200 characters is typed into the textarea and the data is output onto another page (in a table), it is breaking out of the div "container" class (where this table resides). I have set the "container" class to width:760; align:center. However, the data output from the textarea box is stretching across the screen to the right -- thus, breaking out of the div "container". I have the table within the div container class, so I'm not sure why the 200 characters is not wrapping within the table cell within the div of 760. I can't put the page code in this thread as it contains proprietary information, so I hope I've explained this defect well enough for someone to visualize what I am talking about.
Is there a way to keep the text from breaking out of the div? Has anyone ever experienced this?
Thanks
A very strange thing is happening on some pages of a web application and I have to fix the defect. I didn't code the page and it is a .jsp page. JAVA code outputs data from HTML text boxes onto another page containing loads of tables and a few divs tags (the java developers here preferred tables vs. css).
We've set an HTML textarea to have a maxlength of 200 characters. However, when 200 characters is typed into the textarea and the data is output onto another page (in a table), it is breaking out of the div "container" class (where this table resides). I have set the "container" class to width:760; align:center. However, the data output from the textarea box is stretching across the screen to the right -- thus, breaking out of the div "container". I have the table within the div container class, so I'm not sure why the 200 characters is not wrapping within the table cell within the div of 760. I can't put the page code in this thread as it contains proprietary information, so I hope I've explained this defect well enough for someone to visualize what I am talking about.
Is there a way to keep the text from breaking out of the div? Has anyone ever experienced this?
Thanks