Chris and Daves SharePoint and Tech Blog

All about SharePoint and Technology
  • rss
  • Home
  • About Dave
  • About Chris
  • Links and Resources

Remove the gap between the Icon and Title in SharePoint 2010 document library

Chris McKinley | August 23, 2010

It’s hard to explain what I mean in words so here is a picture:

See how the icons do not sit right next to the title of the item and you are left with masses of white space. This bug only seams to appear in IE8 and in firefox it works just fine. The picture below shows the same thing in Firefox:

This looks much better. I did a bit of digging around using the IE developer tools (just press F12) and tracked down what was causing the error. It’s the CSS width attribute which is set to 0.01% in the coreV4.css My colleague Rob Brown @littlemenace1 (who for a 17 year old knows far too much about far too many things!) assures me that only integers are supported here, so 0.01 is meaningless. IE8 must just get confused and ignore the width attribute all-together whereas Firefox just gets on with things and assumes it’s 1 or 0 but then expands the width to fit the icon and any padding.

Here is the offending CSS:

As we already have a custom masterpage and CSS applied, all I had to do was add

.ms-vb-icon {
    width: 1% !important;
}

into our CSS and all was fine.
If you don’t have a custom CSS and don’t want to make one then I think you could probably get away with doing what I always say you shouldn’t and edit the core CSS. Just watch out for it being overwritten during updates.

While I was at it I also updated the DOCICON.XML and associated images to make the folder icon and a few others more up-to-date. Results below!


Hopefully the CSS will be fixed in an update or service pack in the future.

Comments
3 Comments »
Categories
Sharepoint 2010
Tags
branding, CSS, DocIcon, SharePoint2010
Comments rss Comments rss
Trackback Trackback

Branding your SharePoint 2010 Gateway

Chris McKinley | July 14, 2010

Today I had the pleasure of presenting at the Learning Gateway Conference on the topic of branding.

I’m going to write a few blog posts going into more detail but for now I just wanted to get the slide deck up.

Lg conf branding
View more presentations from crmckinley.
Comments
2 Comments »
Categories
Sharepoint 2010, Sharepoint Designer
Tags
branding, CSS, LGCUK10, master page, Sharepoint Designer, SPD, XSLT
Comments rss Comments rss
Trackback Trackback

Microsoft Expression Sketchflow

Chris McKinley | June 30, 2010

At Twynham we always find the best way to start a new SharePoint project is to get it drawn out, preferably by the end user. This can come back to us in many forms from a pencil and paper sketch through to a fully blown Visio diagram.

I stumbled across this video that shows off Expression SketchFlow, it does look really really good for rapidly prototyping sites or applications/web parts.

This should help us pin down exactly what the end user wants and avoid all those ‘tweaks’ that turn into requirements!
Like to trial here: http://www.microsoft.com/expression/products/Sketchflow_Overview.aspx

I’m giving it a try myself at the moment and will update this post with screen shots and my thoughts.

Comments
1 Comment »
Categories
Microsoft
Tags
branding, Expression blend, SketchFlow
Comments rss Comments rss
Trackback Trackback

SharePoint Branding useful links and resources

Chris McKinley | June 15, 2010

Yesterday I gave a presentation about branding at the SharePoint Education event organised by Mike Herrity at Microsoft Reading. It’s the same presentation I gave at the last event, this time going solo without Matt. The slides from this 1st presentation are here.

I’ve had quite a few request for links to resources etc so I will start to build a list here. If you have any more then just leave a comment or tweet me @crmckinley

http://www.codeplex.com/ -microsoft open source developments

http://www.wssdemo.com/default.aspx – sharepoint examples

http://www.heathersolomon.com/blog/ – useful blog, including blank masterpage

http://www.widgetbox.com/galleryhome/ – 1st of a google search for ‘free widgets’

The best SharePoint designer book I’ve found is this one, it may be 2007 but much of the theory still stands true in 2010.

A few more (with thanks to Derek @workerthread)

Sam ‘pinkpetrol’ Dolan

http://mosshowto.blogspot.com/2010/06/sharepoint-2010-wiki-customizing.html Customising Sharepoint 2010 Wiki team sites

http://www.heatherwaterman.com/blog/default.aspx Heather Waterman

Comments
2 Comments »
Categories
Community, SharePoint, Sharepoint 2010, Sharepoint Designer
Tags
branding, Sharepoint Designer, SharePoint2010
Comments rss Comments rss
Trackback Trackback

SPEDU – SharePoint 2010 Branding

Chris McKinley | May 14, 2010

Myself and Matt Hughes from Samworth Acadamy had the pleasure in presenting to a group of teachers and techies about branding SharePoint. Slides are below, we deviated quite alot during the presentation but you should get the gist!

Any questions im @crmckinley and Matt is @mattmoo2

Branding

View more presentations from crmckinley.
Comments
4 Comments »
Categories
Sharepoint 2010, Sharepoint Designer
Tags
branding, SharePoint, Sharepoint 2010, Twynham
Comments rss Comments rss
Trackback Trackback

SharePoint Products

Sponsor

ShareNews, ShareEvents, ShareIdeas, ShareCV or ShareCoffee
Powered by Postrank

Tags

  • Active Directory Analytics BCS BETT BETT 2010 branding Case Study Central Admin Cognitive Community CSS DHCP DocIcon Drop Folder Evolution Exchange 2007 Exchange 2010 Exchange Service Pack 1 Expression blend FAST Forefront Gmail GodMode Google HyperV IC Technology IE9 iFilter Knowledge base Learning Gateway Conference LGCUK10 Licencing master page MDT Media Streaming Microsoft Migration Mind Manager Monitoring Tools Office 2010 Outlook 2010 Patch Levels pdf PowerPoint PowerPoint 2010 Powershell RDP Revision RTM SCVMM Server 2008 R2 SharePoint Sharepoint 2010 SharePoint Conference Sharepoint Designer SharePoint EDU SharePoint Foundation 2010 SharePoint Saturday SharePoint2010 SharePoint2010; Social SketchFlow SPD SPEDU SPS SPSUK SQL SQL 2008 STSADM SUGUK Supplier TechDays Themes Topologies Twynham Versions VHD Volcano WebApps WebParts Windows 7 Windows Live Windows Update Word 2010 WordPress XML XML-RPC XSLT Zevenseas

Categories

Blogroll

  • Alan Richards
  • Alex Pearce's SharePoint Blog
  • Brandon & George
  • End User SharePoint
  • Get The Point
  • Meet Dux
  • Planet SharePoint
  • SharePoint Comic
  • SharePoint Dev Wiki
  • SharePoint In Education
  • SharePoint Joel
  • The SharePoint Mechanic
  • Top SharePoint Sites
  • We Know Nothing

Ads by Lake Quincy Media

rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox