Round Corner For Sharepoint Webpart

Hi Guys,
Sometime Users want Round Corner around Web part to looks it Nice.
The Simple Webpart without corner looks like this

Jquery Provide Plug in for Round Corner,Check it Out here

Download Jquery and Plugin

Now In Content Editor Webpart Copy and Paste Jquery;
<script type=”text/javascript” src=”jquery.js”></script>

<script type="text/javascript" src="jquery.corner.js"></script>
<script type="text/javascript">


Here is Outcome for above Jquery

This will put Corner on all webparts on Page but sometime instead you want on one particular Webpart.

here is small Jquery to achieve that 
 $("td[title='Title for webpart']").parent().parent().parent().parent().css("background-color","#DDE0E3").corner("top"); 

These Piece of Jquery works fine with DVWP.I have not tested with others Webpart.


Leave a Reply

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

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

Google photo

You are commenting using your Google 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 )

Connecting to %s