Adjust Width of SharePoint Columns

SharePoint lists and libraries are great.  However, you may have noticed that sometimes, the column width on certain items just looks funky.  To remedy this, all you need to do is add a little javascript.

Go to the list or library that you want to resize and add a Content Editor Web Part.

From the script below, I am referencing jQuery from my internal site.

Copy and paste this code into the CEWP.

<script src=”/PublishingImages/javascript/jquery-1.3.2.min.js” type=”text/javascript”></script><script type=”text/javascript”>$(function(){$(“‘Column 1’)”).css(“width”, “350px”);

$(“‘Column 2’)”).css(“width”, “350px”);



Column 1” and “Column 2” will be the name or your columns that you want to resize.

Here is an example I used and only resized one column: