External Style Sheet Question

  • Thread starter Thread starter Bob L
  • Start date Start date
B

Bob L

Using FP 2000 on an Windows XP machine, I have a subweb where I've inserted
an external style sheet and applied it to all pages. The purpose of the
external style sheet is to change the behavior of links so that they applear
as blue text with no underline except when the mouse is directly over the
link. In that case, the links changes to red and the underline appears.
All pages in the subweb have a Theme of "No Theme" applied. Here is
external style sheet file:

a:link {color:blue text-decoration:none}
a:visited {color:blue text-decoration:none}
a:focus {color:red text-decoration:underline}
a:hover {color:red text-decoration:underline}
a:active {color:red text-decoration:underline}

The problem is that the underline appears on every link regardless where the
mouse is. The external style sheet is added through the "External Style
Sheet" dialog box and applying it to all pages. What am I doing wrong?
 
Try adding ";" after your styles....
a:link {
color:blue;
text-decoration:none;
}

PS - They're easier to read and edit when not all on one line, but whatever
floats your boat.

Bob Lehmann
 
That fixed it. I'd tried it before but just after the text-decoration but
not after the color.
 
Also make sure the style sheet is within the subweb and not the root web.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
Back
Top