SUMMARY
This article describes ways in which you can modify the
appearance of hyperlinks beyond the methods available through the FrontPage
2000
Style dialog box.
back to the top
Removing the Hyperlink Underline
The
Font dialog box (on the
Format menu) offers the ability to define
Underline,
Strikethrough,
Overline,
Blink,
Small caps,
All caps,
Capitalize, and
Hidden text styles. If one of the boxes is selected, then font
attributes are written to the type of style definition. One of the more popular
styles is to display hyperlinks without an underline. To achieve this effect,
you must edit the style code directly.
To achieve this effect in
FrontPage, find the file that contains the style syntax.
back to the top
Using Style Sheets Links Command
If the style was applied through the
Style dialog box (on the
Format menu), open the page to which the style was applied. If the style
was applied through the
Style Sheet Links command, open the cascading style sheets file (or files) that the
page is linked to.
- Find the style syntax for the a tag. It looks similar to
the following:
<style>
<!--
a { }
-->
</style>
- Within the curly braces, type
text-decoration:none
- Your completed style code will look similar to the
following:
<style>
<!--
a { text-decoration:none }
-->
</style>
back to the top
Using Create Hyperlink Dialog Box
If the hyperlink style was defined by clicking the
Style button in the
Create Hyperlink dialog box (on the
Insert menu, click
Hyperlink), follow these steps:
- Open the page containing the hyperlink.
- Select the link and then switch to HTML view.
- Edit the selected A tag so that its style attribute looks like the following:
style="text-decoration: none"
The following is an example of a complete style definition as
an attribute of the hyperlink tag.
<a href="http://localhost" style="text-decoration: none">inline style</a>
back to the top
Specify Different Formatting for Unvisited, Visited, and Active Links
The HTML tag that forms hyperlinks has some pseudo-classes
defined by the cascading style sheets specification, yet pseudo-classes are not
displayed in the list of all HTML tags drawn by FrontPage 2000. This section
describes how you can assign different formatting to a hyperlink, whether it is
unvisited, visited, or active.
- On the Format menu, click Style.
- From the list in the lower left corner, select All HTML tags, select the A tag, and click Modify.
- As a name for the style, type a:link for unvisited links, and then apply the various formatting
options available in the Modify Style dialog box. To specify styles for active and visited links,
repeat these steps 1-3, but in step 3, name the style a:active or a:visited.
For information about using themes for formatting, please see
the following article in the Microsoft Knowledge Base:
198512 FP2000: What Are Themes?
back to the top