External Style Sheet Question

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?
 
B

Bob Lehmann

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
 
B

Bob L

That fixed it. I'd tried it before but just after the text-decoration but
not after the color.
 
T

Thomas A. Rowe

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.
==============================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top