in

SharePoint Blogs

The Best Place for SharePoint-related Blogs

Andrew Noon's Blog

SharePoint, MOSS 2007, Information Architecture, Business Intelligence and other rambling

October 2006 - Posts

  • MSD2D SharePoint Newsletter - Well worth subscribing!

     

    Most SharePoint developers and architects will already know about this but if not then for regular alerts about some of the, usually simpler, cool stuff you can do with SharePoint it's well worth subscribing the the MSD2D newsletter for SharePoint.

     

    To do that go to http://msd2d.com/Tip_view_03.aspx?section=sharepoi... and subscribe.

     

    As an example here is a snapshot of recent articles:

     

    Recent SharePoint Tips:

    Display background image on every page (10/3/2006)

    Hiding WSS administrative content from your users in SharePoint 2003 (9/28/2006)

    Cannot submit Infopath forms (9/28/2006)

    Shortest fastest tip on MOSS 2007 Beta 2 TR (9/27/2006)

    Create/Update Infopath forms using the SharePoint Object Model & other classes (9/26/2006)

     

    ...and todays article:

     

    Display background image on every page

    Submitted By: Siddharth Kale, Unisys Global Services India Ltd
    Posted On: 10/3/2006

    Description:

    This tip covers editing the correct style elements and their attributes in the OWS and SPS cascading style sheets.  These style sheets can be located on each of your front-end web servers in this location drive letter:\program files\common files\microsoft shared\web server extensions\60\template\layouts\1033\styles.  Once you locate the files you will need to either use FrontPage 2003 or a compatiable text editor to make changes to the files.

    1. Make a copy of the original OWS.CSS file

    2. Open OWS.CSS

    3. Find .ms-main - This element handles the look and feel for the main portal table.

    4. Replace current code with code below:
      .ms-main
      {
      background-position: center; background-image: url('/_layouts/images/image.gif'); background-repeat: no-repeat;
      }

    5. Save the file

    6. Copy your image into the images directory located on the all of the front-end web servers drive letter:\program files\common files\microsoft shared\web server extensions\60\template\images.

    7. Browse to your site and refresh your page

    The "background-repeat: no-repeat" will make the image display only in the center of the page.  You can change it's value to have the background repeat or simply remove that attribute to have the image repeat.


Need SharePoint Training? Attend a SharePoint Bootcamp!

Posts (c) their respective authors. Everything else (c) 2007 SharePoint Experts