Image in Display Form
I'd like to include an image in my Display Form but want the image centered. Does anyone know how to accomplish this? The settings for Images in Form Designer seem a bit sparse.
_img_ alt="User-added image" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=906f2000000k9si&feoid=Body&refid=0EMf2000000fzKJ" _/_img_
_img_ alt="User-added image" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=906f2000000k9si&feoid=Body&refid=0EMf2000000fzKO"_/_img_
0
-
Try adding this CSS to your config:
.inner img
{
margin-left: auto;
margin-right: auto;
display: block;
}0 -
That worked...Thanks John! 0 -
Hi John! As I said last week, that worked great! But upon running the workflow in the map today, I noticed the image is aligned to the left again. I double checked the CSS file to make sure it still had the code you send and it does...any idea why this isn't working anymore? 0 -
Hmm, no upgrades to GE or changes to your browser, right? What version of GE are you running? 0 -
You should make use of your browser's dev tools for this one, Lisa. I personally really like the FF tools for dealing with CSS even though Chrome renders it better. Use the element inspector on your image and you should be able to identify the issue. 0 -
Thank you both for your responses...it suddenly started displaying properly again...Weird! 0 -
That was definitely John's doing. Minnesota magic. 0
Please sign in to leave a comment.
Comments
7 comments