Microsoft Office FrontPage 2003      
Developer's Toolkit
Resources | Links | Search
  extend design code  
             
  New Features
 
Microsoft® Windows® SharePoint Services
 
Microsoft® Office SharePoint Portal Server
 
Microsoft Office System
 
.NET Framework
 
 
Real world scenarios that fully expose great new functionality in FrontPage 2003 and Windows SharePoint Services.
 
 
  financial planning finance  
  sales & marketing sales & marketing  
  human resources human resources  
   
  FrontPage Developer's Toolkit > Resources > Tips and Tricks > Design
 

Making a Copy of a Transparent 1 x 1 Pixel .GIF

Windows SharePoint Services-based Web sites contain some elements with gradient background colors. Setting a background to a new color using table or cell properties will have no effect until you effectively remove the default gradient image by over-riding it in the corresponding style (see- Removing Gradient Backgrounds). This can be done by replacing it with a transparent 1 x 1 pixel .gif already available in the /_layouts/images directory of the site.

To make a copy of trans.gif so you can use it to remove or replaced gradient backgrounds in your Windows SharePoint Services-based Web site, do the following:

  1. Open your Internet browser and browse to- http://<mywebsite>/_layouts/images/trans.gif
  2. Use the shortcut key combination Ctrl+A to Select All. The trans.gif will then appear as a tiny dot in the upper left corner of the blank Web Page.
  3. Place the tip of the cursor on this dot and right-click to Save Picture As... and select a location on your local machine in the Save As dialog.

              
Tip: Here are key styles from the ows.css that use default gradients as well as their file sizes and names (images below were obtained using steps 1. through 3. above):

 
UI Element to Change Default Image Style to Change Default Image Size / Filename
Top menu bar .ms-bannerframe 1 x 28 pixels / topgrad.gif
Web Part title bar (such as Announcements on home page) .ms-wpheader 1 x 18 pixels / partgrad.gif
Toolbar on document library and list pages .ms-toolbar and table.ms-toolbar 1 x 22 pixels / toolgrad.gif

For more about gradient background images, see the article entitled Changing Gradient Images in Sites Created with Windows SharePoint Services.

More information
For more information about customizing Themes, see Microsoft FrontPage 2003 Help.