SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I increase the column width in a list view web part?

share|improve this question

To increase the width of a particular column in the List View Web Part

Add a Content Editor Web Part in your page

Add the below css text in it and save.

<style type='text/css'>

You can get the <ColumnName> from the source of the table. [F12]

share|improve this answer

There is a workaround to set the column width, but it will effect all columns.

Check the CSS of ListViewWebPart's Html Table (via view source code or IE Dev toolbar)

Consider, ListViewWebPart's Table class name is - .msTable

Then write an inline CSS in your aspx page like

.msTable TD

The above code will set the width fixed for column inside ListViewWebPart.

share|improve this answer
Hi saumilm, thanks for posting an answer but this is not what I want. I want to adjust column width in list view WEB PART and not list view. Please read my question again. – Zakir HC Aug 8 '12 at 10:48
Long dead post, but his logic should help (so long as a list view web part has a table). Go to the rendered screen (I'm using Chrome, so steps may vary), inspect one of the cells in the top of your list view's table preferably near the top, now go up until you see the <table value. At that point look for the class attached and replace with that. In my case, it was .ms-listviewtable so it'd be .ms-listviewtable td { } – Robert May 13 '15 at 15:31

I couldn't resize the grabby part in the th without breaking it, but this works in a Content Editor Web Part:

<script type="text/javascript" src="//"></script>
<script type="text/javascript">
  }, 2000)
share|improve this answer
  1. Open the List in Sharepoint designer and then select column (header of the column) of which you wish to increase the width and select the properties for that and select CSS Style to open the styling window and then set the width in it.

    1. Then from the top bar menu select "Insert Tab" then from it select "Customize XSLT-> Customize entire view"

    2. Goto the header of the column from the markup view and find something like "<th nowrap="nowrap" scope="col" onmouseover="OnChildColumn(this)">" tag for that column and remove - nowrap="nowrap"

and save it and test, it would work fine!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.