This trick is awesome for those pesky forms that have large amount of characters per line or even multiple lines. There is simply a better way of keeping things neat and visible without having to scroll horizontally.
1.Browse to your list and click ‘New’ (Item)
On the File menu, select ‘Edit with Microsoft Office SharePoint Designer’
This will launch SharePoint Designer (SPD). In SPD, add a web part zone to the page.
(‘New Web Part Zone’ is on the Web Part task pane)
2. Click the ‘Click to insert a Web Part’ hyperlink and add the Content Editor Web Part
Save the page (which will customize it from the site def)
Back in your browser, refresh the new item page
Click ‘Site Actions’, ‘Edit Page’
3. On the CEWP, click the ‘edit’ drop down and select ‘Modify Shared Web Part’
Click the ‘Source Editor’ button and type in the following:
<style type="text/css">
nobr {white-space: normal}
</style>
4.Click ‘Save’, and ‘OK’ and you should see the long column names wrap immediately.
Enjoy!
Fasty
No comments:
Post a Comment