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-74Y8XH

Category: 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".
A picture named M2
A picture named M3

If this option is activated the nowrap statement is no longer used for the HTML rendering.

A picture named M4
A picture named M5

Post A Comment

Comments

:-D:-o:-p:-x:-(:-):-\:angry::cool::cry::emb::grin::huh::laugh::lips::rolleyes:;-)

Tags

Deutsche RSS-Feeds (German)

Custom Button Custom Button

English RSS feeds

Custom Button Custom Button