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

enter image description here

I have a SharePoint 2010 portal and made 1 Site collection along with subsites. On each sub site I have different document libraries and each document library has documents uploaded.

The strange thing is that the indenting of document names are different. Please have a look and suggest the solution accordinly so all items are aligned equaly.

share|improve this question

From the screenshots it looks like you have modified the css for the site which can be a good reason the items are drifting towards the left. Check for some added left padding styles written in the class used in the display of grid based sharepoint library and list views.

share|improve this answer
Well I did change the masterpage back to V4 but no change in document library items alignment. – user342944 Jul 25 '12 at 8:45
There is something wrong with the css. You need to use firebug or developer tools in IE and select the padding region and see what class is being applied there .. – Arko D Jul 25 '12 at 11:25
it is working fine on mozilla firefox and is acting strange on IE..i am currently using IE9 – user342944 Jul 26 '12 at 3:59
up vote 1 down vote accepted

Well perhaps this would help others also. I have inserted the following line under section in my masterpage and viola it worked like a charm :)

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
share|improve this answer

I've experienced this a few times.

I usually just change .ms-vb-icon from width: 0.01%; to width: 0.1%; and that does the trick.

share|improve this answer

If you have created SPView for each Library to show items OOTB. then it may be possibility that you are showing Name (for use in forms), Name (linked to document),Name (linked to document with edit menu) etc.

So you may be modified some css to show Name with proper indent. but whatever library is showing wrong indent in that library you may choose wrong Name field to show.

It may be possibility. May be it can help.

share|improve this answer

My take is that we are looking at 2 different web parts, most likely one is a List-View, or Content Query web part, and another could be either created custom or via SharePoint designer. The rendering would be different as the way tables are generated is different.

Could you please check by appending ?contents=1 to your page address and drop us the screenshot which should be a table stating what kind of web parts are deployed on the page?

share|improve this answer
Marius all types are XsltListViewWebPart – user342944 Jul 26 '12 at 8:26
..and no customization performed, or using any separate XSLT added via the Web Part tool part? – Marius Constantinescu - MVP Jul 26 '12 at 11:27
no customization and no seperate XSLT for sure. – user342944 Jul 27 '12 at 5:43
Take one web that looks different than the others, and try adding a new ListView Web part trying to rebuild the same view of content - via Browser UI. If it happens that any of these web parts (even if they are all XsltListViewWebPart) via SPD then the explanation is that. – Marius Constantinescu - MVP Jul 27 '12 at 6:24
Lists on whole web were same. I added list webpart through browser UI. didn't try with SPD though. – user342944 Jul 27 '12 at 6:46

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.