Do you want to make some style to the webpartheaders, then i hope this post will give you some inspiration. Webparts often rendering throung HTML-tables, so because of that i had to use rows (TR) and (TD) in this CSS.
In this example every webparts in your SharePoint pages who make use of this CSS will be like the image below. You can if you want, have for example three different titlebar colors in the same page, if you instead use different partstyles for each webpartzone in your pagelayout.
Note that you can have rounded corners to the left and to the right, the you can use CSS technics like sliding doors or spirtes.
In this example i use two images, one stretching to the left (GL.png 800x32px) and one for the right (GR.png 25x32px).

Here goes the CSS:
/*----------WEBPART TITLE---------------*/
/* leftcorner */
.ms-standardheader.ms-WPTitle {
background-image: url('/_catalogs/masterpage/Images/GL.png');
height: 32px;
background-repeat: no-repeat;
padding-left: 12px;
color: #fff;
}
/* Rightcorner */
tr.ms-WPHeader TD {
background-image: url('/_catalogs/masterpage/Images/GR.png');
background-repeat: no-repeat;
vertical-align: top;
margin-top: -1px;
margin-right: 10px;
}
/* Text */
.ms-standardheader.ms-WPTitle A:link, .ms-standardheader.ms-WPTitle A:visited {
color: #fff;
margin-top: -10px;
}
/* Rightarrow */
.ms-WPHeader DIV {
text-align: left;
width: 14px;
vertical-align: bottom;
margin-right: 5px;
margin-top: 3px;
border: 0px;
}
/* Move the right arrow*/
.ms-WPEditText {
margin-left: -25px;
}
/* No line below the header*/
.ms-WPHeader TD {
border: 0px;
}
/*----------END WEBPART TITLE---------------*/
//Added//
You can download this images here:
GL.png and
GR.png
You need to be a member of SharePoint designers to add comments!
Join SharePoint designers