Microsoft KB Archive/317333

= HOW TO: Create a Fixed, Centered Watermark Using Cascading Style Sheets and FrontPage 2000 =

Article ID: 317333

Article Last Modified on 10/26/2002

-

APPLIES TO


 * Microsoft FrontPage 2000 Standard Edition

-



This article was previously published under Q317333



IN THIS TASK
SUMMARY
 * Step 1: Save a Page and Wallpaper Image to Your Web
 * Step 2: Use Cascading Style Sheets to Set the Background Image Properties

REFERENCES



SUMMARY
This article explains how to create a fixed watermark background image on a Web page by using Cascading Style Sheets in FrontPage.

NOTE: This article uses custom Cascading Style Sheets that may not be available in all browsers. For more information about compatibility with other browsers, click Microsoft FrontPage Help on the Help menu, type compatibility in the Office Assistant or the Answer Wizard, and then click Search to view the topic.

back to the top

Step 1: Save a Page and Wallpaper Image to Your Web
 Start FrontPage and then open a Web. Click the New Page button on the Standard toolbar.

NOTE: If the Standard toolbar is not visible, point to Toolbars on the View menu, and then click Standard. Insert an image file. To do this, follow these steps:  On the Insert menu, point to Picture, and then click From File. Click Select a file on your computer. In the Select File dialog box, follow these steps:  In the Look in box, click My Computer.</li> Double-click the drive where your Windows folder is located.</li> Double-click your Windows folder.</li> Double-click one of the default wallpaper image files (*.bmp). The background image is inserted onto your Web page.</li></ol> </li></ol> </li> On the File menu, click Save.</li> In the File name box, type a name for your file (for example, type BackgroundTest.htm ), and click Save.</li> In the Save Embedded Files dialog box, click OK to save the image to your Web.

NOTE: If you want to save the image to a specific folder in your Web, click Change Folder and point to the folder where you want to save the image.</li></ol>

back to the top

Step 2: Use Cascading Style Sheets to Set the Background Image Properties
<ol> If the page you created in Step 1: Save a Page and Wallpaper Image to Your Web is not open, open it.</li> Select the image on the Web page and then click Delete on the Edit menu.</li> On the Format menu, click Style.</li> In the list of available styles, click body, and then click Modify.</li> Click Format and then click Border.</li> Click the Shading tab. Click Browse to select the image that you saved to your Web in Step 1: Save a Page and Wallpaper Image to Your Web, and then click OK.</li> In the Borders and Shading dialog box, perform the following steps: <ol style="list-style-type: lower-alpha;"> In the Vertical position list, click Center.</li> In the Horizontal position list, click Center.</li> <li>In the Repeat list, click No-repeat.</li> <li>In the Attachment list, click Fixed.</li> <li>Click OK to close the Borders and Shading dialog box.</li></ol> </li> <li>Click OK to close the Modify Style dialog box.</li> <li>Click OK to close the Style dialog box.</li> <li>On the File menu, click Save to save the page to your Web.</li></ol>

back to the top

<div class="references_section">