Pass through HTML in view

when you pass a view through “treat contents as html”, the view looks ugly and unaligned. How do we get that straight?

any idea

Responce appreciated.

Jay

Subject: pass through HTML in view

“Treat contents as HTML” means YOU have to supply all of the formatting yourself. Instead of having, say, a fieldname as a column formula, you put:

“<td class="thisColumn">” + FieldName + “”

That sounds like a lot, until you realize that this means that you aren’t restricted to creating a table of values. What if, instead of using all over the place, you did this:

” + FieldName + “

in one column and:

“<div class="article">” + @Implode(“

” + BigText + “

”) + “”

in the next, and so on. It’s not a table anymore, but it’s still a view (and it’s what drives most of the Domino-based blogs on the web).

Subject: RE: pass through HTML in view

thank you so much for the reponce.

When i am entering the formulae for example

say “

” +field+ “

” for all columns, they are displaying vertically. Can you tell me how i can make them display horizontally.

Also , property “show values in this column as link” is not working.

Thanks a lot for the prompot responce.

I greatly appreciate it.

Jay.

Subject: RE: pass through HTML in view

Again, if you want links, you have to create them yourself.

is a block-level tag – it can’t display beside anything else unless both items are in separate block-level or table-cell containers.

It sounds to me, though, that you simply want a table of values with links in one or more of the columns. You don’t want “Treat view contents as HTML” – you want “Display using HTML”. Domino will create the markup for you when you use that option.