You need to sign in to do that
Don't have an account?
Himanshu S
alignment problem
I am trying to add a visualforce page as a section item in my standard layout of account.
I need to do this to show a image formula field.
My problem is that its not coming aligned to other content
Pls help
here's the code:
<apex:page Standardcontroller="Account"> <apex:outputlable>Status</apex:outputlable> <apex:image url="/servlet/servlet.FileDownload?file=015A0000000SgGh" alt="Active" /> </apex:page>
You could try using the style attribute,something like style="vertical-align:left"
Its a good idea to use the URLFOR ($Action.Attachment.Download instead of hardcoding the path.
something like:
<img src="{!URLFOR($Action.Attachment.Download, PostImage)}" style="vertical-align:left" width="200" height="200"/>
For more info on using URLFOR check out - http://community.salesforce.com/t5/Force-com-Sites/Problem-with-html-image-tag/m-p/170790
Thanks simson.
Actually the alignment problem is not there if the whole page were written in visualforce.
I could have used PageBlockSectionItem
but now when I use it, i have to have it between <pageblock> tags which shows unnecessary headers.
I need this to work urgently ... somebody pls help