chuckburr

Vertically center image in web viewer

Discussion created by chuckburr on Nov 18, 2012
Latest reply on Dec 29, 2013 by sam_oda

I am using this code to display an image in the web viewer. How would I edit it to vertically center the images. I have played around with table valign middle and background image center center but have not gotten it right. Images are of various sizes.

 

 

"data:text/html,

 

<body style='border=0;

margin-top: 0px;

margin-left: 0px;'>

 

<body>

<img src= ' " & Images::Image URL & " ' width = 100%>

</body>"

Outcomes