Microsoft KB Archive/825495

= How to change the color of the horizontal top border on all pages in a SharePoint Services Web site in FrontPage 2003 =

Article ID: 825495

Article Last Modified on 7/27/2006

-

APPLIES TO


 * Microsoft Windows SharePoint Services
 * Microsoft Office FrontPage 2003

-





For a Microsoft SharePoint Team Services from Microsoft version of this article, see 288230.



SUMMARY
This step-by-step article describes how to change the background color of the top horizontal border of a whole Web site that is based on Microsoft Windows SharePoint Services.



MORE INFORMATION
When you open the default page of a Windows SharePoint Services Web site in Microsoft Office FrontPage 2003, you can change the background color of the top horizontal border, including the Navigation bar. To do this, right-click the top horizontal border, and then click Cell Properties. In the Background area, in the Color list, click the color that you want to use. However, this action only changes the color of the top border on that single page.

To change the background color of the top horizontal border across the whole Web site, follow these steps:  Start your Web browser. In the Address box, type http:// /_layouts/1033/styles/Ows.css, and then click GO. In the File Download dialog box, click Save. In the Save As dialog box, in the Save in list, click the folder where you want to save the file, and then click Save. In the Download Complete dialog box, click Close. Start FrontPage, and then open your local Web site.</li> Click File and then click Import.</li> In the Import dialog box, click Add File.</li> In the Add File to Import List dialog box, find and click the Ows.css file, click Open, and then click OK.</li> In Folder List, double-click Ows.css to open the file.</li> Find the .ms-bannerframe area, and then change the hexadecimal number of the background-color attribute to the number that represents the color that you want to use.

To use the FrontPage color picker to determine the hexadecimal number for a specific color, follow these steps: <ol style="list-style-type: lower-alpha;"> On the Tools menu, click Page Options.</li> Click the Color Coding tab, click one of the color boxes, and then click More Colors.</li> Click the color that you want to use in the color spectrum and take note of the number that is in the Value box. For example, the value for blue is hex={00,00,FF}.</li> Click Cancel two times to close Page Options, and then return to the Ows.css file.</li> In the background-color line, delete the existing number that you see between the number sign (#) and the semicolon .</li> Type the number for the color that you want to use, without the commas, between the number sign and the semicolon. For example, the value of blue is hex={00,00,FF}, therefore you will type 0000FF. When you do this, the line will look similar to background-color: #0000FF;.</li></ol>

Note You can also type the name of a specific color, such as red, blue, or green.</li> Click Save and then close Ows.css.</li> Click Format, and then click Style Sheet Link.</li> Click All Pages, and then click Add.</li> In the Select Style Sheet dialog box, in the Look in list, click your local Web site, click the Ows.css file, and then click OK.</li> In the Confirm Format Style Sheet Links dialog box, click Continue.</li> <li>Click Save.</li></ol>

Keywords: kbhowto kbinfo kbcolor kbwebservices KB825495

-

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

© Microsoft Corporation. All rights reserved.