August 5, 2009

Style for Webparts

Here is the style for web parts in sharepoint page.



<Style>
   .ms-WPBorder
   {
      border-right:#6C1717 1px solid;
      border-left:#6C1717 1px solid;
      border-top:blue 2px groove;
      border-bottom:#6C1717 1px solid;
   }

   .ms-PartSpacingVertical, .ms-PartSpacingHorizontal
   {
      padding-top:1px;
   }

   .ms-WPHeader
   {
      Color:#FFF;background-image:url   ('images/topshape.jpg');
   }

   .ms-WPTitle span
   {
      font-weight:bold;
      font-size:13px;
      font-family:Arial, Helvetica, sans-serif;
      text-decoration:none;
      margin-left:8px;
      Color:#3366FF;
   }
</Style>

No comments: