Remove Extra Space Around the Web Part In SharePoint 2013

Hey Folks,

An extra padding of 20 pixel is included by default in SharePoint 2013 for every webpart. so this issue can be resolve and you can remove extra space around the webpart by this CSS.

 <style type="text/css">

     .ms-webpartPage-root {
         border-spacing: 0px !important;
     }
       .ms-webpartzone-cell {
         margin: 0px !important;
     }
 </style>

 

Happy SharePointing 😉

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s