Print
EmailA colleague of mine out in the great state of Nebraska is working on a client site that needed a skinned web part header/title area. She kept running into an issue that when a user WAS logged in, they would get a space in between the right end cap image (the location of the drop down for editing the settings of a web part) and the main top span. I had the same issue when using her code (for both IE and firefox). I started tinkering around and got it to the point where i had no end cap at all for users who were NOT logged in, but looked fine for folks that were. For me and the project I am on, that is an acceptable compromise.
Obviously this is not a replacement for the stacking web part method, and I'm sure there are a few other ways to skin web parts but at least with this method you might be able to cut some of the time down. Special thanks to Erik Akers of Base70 for helping with the css.
The original post was made on ..... uh.. kyle's sharepiont karate (????) http://www.thesug.org/blogs/kyles/Lists/Posts/ViewPost.aspx?ID=9
Here is the code and below is the final result.
/* Web Part top image */
table.ms-viewtoolbar{
background-image:url('/PublishingImages/tan_bar_back.gif');
background-repeat:repeat-x;
background-color:#d6e8ff;
}
.ms-WPHeader td{
border: none;
}
tr.ms-WPHeader TD
{
background: url('/PublishingImages/bar_end_right.gif') no-repeat right top;
overflow: visible;
height: 24px;
}
.ms-standardheader.ms-WPTitle
{
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size : 11px;
font-weight: bold;
color:#000099;
background: url('/PublishingImages/tan_bar_back.gif') left top;
background-repeat:no-repeat margin-right: 24px;
padding: 3px 0 0 5px;
height: 24px;
}
/* Temp Static Navigation */
.staticNavLinks
{
color:#ffffff;
background-image:url('/PublishingImages/bulletpointgif.gif');
background-position:left,center;
background-repeat:no-repeat;
padding:3px 3px 3px 25px;
height:10px
}
No end cap (use not logged in)

With end cap (user logged in)
Please wait while my tweets load 
| SharePoint 2010 Service Account Reference Guide Updated: September 6, 2010 |
| SharePoint Saturday Baltimore |
| Load all Snapin's to ONE PowerShell Profile Updated: August 2, 2010 |
| Why all these SharePoint service accounts? Updated: July 15, 2010 |
| Cant change Web App pool drop down or Cant start service in Central admin |
| Install SharePoint 2010 and Manually Configure Service Accounts Updated: June 5, 2010 |
| Which SharePoint 2010 Web Application Pool controls which Service Account? Updated: May 29, 2010 |
| SharePoint 2010 RTM Cannot connect to database master at SQL server Updated: May 28, 2010 |
| Server 2008 R2 on SSD Updated: May 16, 2010 |
| Why I love SharePoint Saturday Updated: May 16, 2010 |
| Duel Booting |
| The Blizzard of 2010 Updated: February 7, 2010 |
| To new beginnings Updated: January 15, 2010 |
| Three things I HATE about Call of Duty Modern Warfare 2 Updated: January 11, 2010 |
| The "Blizzard" of December 2009 Updated: December 20, 2009 |