10.07.2007
Quick tip: Domino web development - word wrap in views
>>Author: Bernd Hort
>>Ort: Hamburg
URL: http://www.assono.de/blog/d6plinks/BHOT-74Y8XHCategory: Quick-Tipp, Web-Entwicklung, Lotus Domino
It is always interesting to see how Lotus Domino translates client settings into HTML for a browser. On of the more quaint conversion is about word wrapping in views.
As you probably know Domino translates views into HTML tables. Giving the attribute
<td nowrap> prevents the browser from wrapping text in a table cell. Specially with longer text tables with this setting tends to become quite wide. So this setting should be used wisely.
Unfortunately Domino uses this setting for every new view while rendering in a browser.
After some trial and error I found the option to control this setting.
"Shrink rows to content".
If this option is activated the nowrap statement is no longer
used for the HTML rendering.
