Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a problem with the Summary view of a Links list. If one if the links is so long that it have to be displayed over two lines then all the links get the same height in the presentation. This leads to a lot of whitespace in the view.

Pictures:

As displayed With td padding and scribbles to explain better

I've tried to find the cause of this by inspecting the CSS but i cant find a rule that explains this behavior.

share|improve this question
add comment

2 Answers 2

up vote 1 down vote accepted

I found the source and solution of the problem. The source is a   in line 563 of 14\TEMPLATE\FEATURES\LinksList\List\schema.xml:

<td style="padding-bottom: 5px" class="ms-vb"><img src="/_layouts/images/square.gif" alt="" />&#160;</td>

I'm not sure what that &nbsp: is doing there but adding nowrap="nowrap" to the first td in the listing solved the vertical white space issue.

share|improve this answer
add comment

You can also change the XSLT file located

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\XSL\vwstyles.xsl

and edit line 1377 from

<td style="padding-bottom: 5px;" class="ms-vb">

to

<td style="padding-bottom: 5px; white-space: nowrap;" class="ms-vb">
share|improve this answer
    
I wouldn't change core files if I where you. –  Hugh Wood Nov 13 '12 at 16:21
add comment

Your Answer

 
discard

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.