Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 480
  • Last Modified:

how to position a webpart at center of page in sharepoint 2010 .

Hi,

I have to show a custom webpart on wiki page or (say webpart page).

How can i position the webpart on center of page?

any ides?
0
sharepointDepot
Asked:
sharepointDepot
1 Solution
 
strickddCommented:
If you set the main content element (i.e. <div/>) to have a style with margin set to auto and a width only as wide as the content, it will center in the page.
0
 
sharepointDepotAuthor Commented:
ok . thanks !
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now