font change

  • Thread starter Thread starter Pam
  • Start date Start date
P

Pam

Using FP2003. I have some linked navy text on a light gray background that
changes to white on mouseover - as listed in a style command at the top of
the page. I also have some linked text on the regular page that has a white
background. I don't want this text to change to white (as it disappears).
Is there a command to separate this text so it doesn't take the style
command?
Thanks as always,
Pam
 
You are going to have to create a class and assign it to the element containing the links on the
page with the white background.
To create a class it's done with a leading period.

..myclass a:link{
color: navy;
}
..myclass a:visited{
color: red;
}
..myclass a:active{
color: green;
}
..myclass a:hover{
color: navy;
}

and then assign the class like this class="myclass" without the period.

hth

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
For links you can create a pseudo class (and active should follow hover)

a.myclass:link { color: navy; }
a.myclass:visited{ color: red; }
a.myclass:hover{ color: navy; }
a.myclass:active{ color: green; }

<a href="yourlink.htm" class="myclass">

--




| You are going to have to create a class and assign it to the element containing the links on the
| page with the white background.
| To create a class it's done with a leading period.
|
| .myclass a:link{
| color: navy;
| }
| .myclass a:visited{
| color: red;
| }
| .myclass a:active{
| color: green;
| }
| .myclass a:hover{
| color: navy;
| }
|
| and then assign the class like this class="myclass" without the period.
|
| hth
|
| --
| Steve Easton
| Microsoft MVP FrontPage
| 95isalive
| This site is best viewed............
| .......................with a computer
|
| | > Using FP2003. I have some linked navy text on a light gray background that
| > changes to white on mouseover - as listed in a style command at the top of
| > the page. I also have some linked text on the regular page that has a white
| > background. I don't want this text to change to white (as it disappears).
| > Is there a command to separate this text so it doesn't take the style
| > command?
| > Thanks as always,
| > Pam
| >
| >
|
|
 

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

Back
Top