Icons in views - how to center

I have a view with columnvalue = “Display values as icons” and I want the icon to be centered in that column when the view is shown in av web-browser (works great in the Notesclient). How do I do that?

Subject: According to my testing

Hello, Sune. According to my testing, setting the column Property for Justification: as Center seems to center the icon in a view column both on the web and Notes. It doesn’t seem to matter if I use a $$ViewTemplate form or not to display the view. Can you give more specifics as to whether the icon is showing up on the right or left, whether you are using a $$ViewTemplate, and any other web related db information? Also, please indicate the browser you are testing with. Thanks.

Subject: Icons in views - how to center

Hi Dave!I´m not using a $$ViewTemplate, just using a embedded view on a form (displays as Java-applet in browser). In the Notesclient it´s centered but in a browser (IE8) it shows up on the left side of the column.

I use the following column formula:

@If(HappyPatient<=70;“Denided.jpg”;HappyPatient<=80;“Warning.jpg”;“Valid.jpg”)

Subject: Could be the Java applet…

Try to display the embedded view as HTML.

Subject: Icons in views - how to center

Yes, now it “works like a charm” - thank you Karl-Henry!