You need to sign in to do that
Don't have an account?
![Suman Kuch Suman Kuch](https://dfc-org-production.my.site.com/img/userprofile/default_profile_45_v2.png)
How can we align (center) the visualforce page on object page layout?
Hi,
the requirements is based on the contact photo setup on Contact page. I created a Visualforce page to show/upload photo and embeded on contact's edit page layout. The photo is showing left side of section but we need to show in center how can we do that? I tried div tag with align center but no use.
Please give me clue on this.
Sumant K
the requirements is based on the contact photo setup on Contact page. I created a Visualforce page to show/upload photo and embeded on contact's edit page layout. The photo is showing left side of section but we need to show in center how can we do that? I tried div tag with align center but no use.
Please give me clue on this.
Sumant K
You can use image tag between <CENTER></CENTER> tag. Also you can also try using margin-left:25% CSS.
Regards
Tej Pal Kumawat
Skype : tejpalkumawat1991
If this answers your question mark Best Answer it as solution and then hit Like!
All Answers
You can use image tag between <CENTER></CENTER> tag. Also you can also try using margin-left:25% CSS.
Regards
Tej Pal Kumawat
Skype : tejpalkumawat1991
If this answers your question mark Best Answer it as solution and then hit Like!
Your second solution (CSS) worked for me but still the first one is not working Anything wrong im doind here?