Microsoft KB Archive/318167

= HOW TO: Create a Fixed, Centered Watermark Using Cascading Style Sheets in FrontPage 2002 =

Article ID: 318167

Article Last Modified on 2/1/2007

-

APPLIES TO


 * Microsoft FrontPage 2002 Standard Edition

-



This article was previously published under Q318167





For a Microsoft FrontPage 2000 version of this article, see 317333.

For a Microsoft FrontPage 98 version of this article, see 184866.

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



SUMMARY
Use this step-by-step guide to create a fixed watermark background image on a web page by using Cascading Style Sheets.

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
 In FrontPage, 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. In the Picture dialog box, follow these steps:  In the Look in list, 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 Open.</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> 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

Keywords: kbhowto kbhowtomaster KB318167

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.