ACC2000: Pages May Not Reflect Specified Hyperlink Colors
ID: Q206141
|
The information in this article applies to:
Novice: Requires knowledge of the user interface on single-user computers.
This article applies to a Microsoft Access database (.mdb) and a Microsoft Access project (.adp).
SYMPTOMS
Data access pages may not use the Hyperlink color setting and the Followed hyperlink color setting that you can set in the Web Options dialog box in Microsoft Access. Pages also do not use the Visited, Unvisited, and Hover colors that you can set in the Colors dialog box in Microsoft Internet Explorer version 5.0.
CAUSE
Pages use the color violet for Hyperlink color (Unvisited). The color used for Followed hyperlink color (Visited) is based on the setting at the time that you create the page.
NOTE: The page does not automatically update the color if you change the Followed hyperlink color.
RESOLUTION
You can use the Microsoft Script Editor, or any text editor, to change the HTML file so that the code specifies which color to use, depending on the state of a hyperlink.
MORE INFORMATION
There are two common states for hyperlinks in HTML: link (Hyperlink color) and vlink (Followed hyperlink color).
An example of the syntax to handle these states is:
<BODY link=#800080 vLink=#ff00ff>
The following table contains the hexadecimal value for some common colors used in HTML files:
Color |
Hex Value |
Aqua |
#00FFFF |
Black |
#000000 |
Blue |
#0000FF |
Fuchsia |
#FF00FF |
Gray |
#808080 |
Green |
#008000 |
Lime |
#00FF00 |
Maroon |
#800000 |
Navy |
#000080 |
Olive |
#808000 |
Purple |
#800080 |
Red |
#FF0000 |
Silver |
#C0C0C0 |
Teal |
#008080 |
White |
#FFFFFF |
Yellow |
#FFFF00 |
Pages do not automatically use Hover colors.
Steps to Reproduce Behavior
- Open the sample database Northwind.mdb.
- On the Tools menu, click Options. Click the General tab.
- Click Web Options.
- Change the Hyperlink color setting to Black. Change the Followed hyperlink color to Red, and then click OK. Click OK to close the Options dialog box.
- In the Database window, click Tables under Objects.
- Select Suppliers, and then click the Open button on the Database Window toolbar.
- Scroll to the right until you see the Home Page field.
Click Mayumi's (on the World Wide Web.)
- On the browser toolbar, click the Back button.
Note that Mayumi's (on the World Wide Web) is red and the other hyperlinks are black.
- On the File menu, click Close.
- In the Database window, click Pages under Objects.
- Click the New button on the Database Window toolbar.
- In the New Data Access Page dialog box, click Design View. Click OK.
- On the Insert menu, click Hyperlink.
- In the Type the file or Web page name box type http://www.microsoft.com. Click OK.
- On the View menu, click Page View.
Note that the hyperlink color is violet. This hyperlink may be red if you have recently visited that page.
- Click the hyperlink, and then on the browser toolbar, click the Back button.
Note that the hyperlink color is red.
Additional query words:
DAP prb URL URLs
Keywords : kbdta AccDAP
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbprb