Page Properties - Hyperlink Colors

  • Thread starter Thread starter JCO
  • Start date Start date
J

JCO

I have to change the 3-colors for the hyperlinks. I see this in the page
properties.
What I would like to know... is there a way to automatically do all my pages
at the same time or will I have to do a page property for all 20 pages. I
may have to do this a few times until I get the right colors.

My web background is dark blue.
Thanks
 
Define the hyperlink colors using a CSS style sheet, and apply the style
sheet across the web.

a {
text-decoration: none;
}
a:link {
background-color: transparent;
color: blue;
text-decoration: none;
}
a:hover {
background-color: transparent;
color: green;
text-decoration: none;
}
a:visited {
background-color: transparent;
color: red;
text-decoration: none;
}


Change the colors as you desire. You can also use hex values #FF0000 or
r,g,b values rgb(211,253,254) to define the colors

hth


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed..................
...............................with a computer
 
IMHO
what you should do is put this info on a style sheet. then in FrontPage
format/ style sheet links and link it to "all pages".
If you'd like an example of what a style sheet might look like for just
primary <a> tags I'll be glad to give it to you.

HTH
 
Just do a global search and replace for the <body> tag

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

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
just as ps styles need to be defined in this order
link - visited - hover - active
or they ain't going to work properly. The order you have would prevent the
hover style showing on visited links, needs to be
a{
background-color: transparent;
color: blue;
text-decoration: none; }
a:visited {color: red;}
a:hover {color: green;}

Jon
Microsoft MVP - FP
 
Oops. I knew that. I was copying and pasting from a style sheet and got
out of sequence.

;-)

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed..................
...............................with a computer
 
That would be great. I would appreciate it.
CSS files .. is an area that I know nothing about. I assume the file
extension is .css.
I assume I should import it into a folder (any folder).
 
How would you add to this css that all text color is white. Since my
background is dark blue, I need normal text (each time I create a table.. so
forth) for the text to be white.

Can that be added to this?
 
If you're sure that your text will always be white, add:
body {
background: blue;
color: #ffffff;
}

That means that any text within the <body></body> tags (your whole page)
will be white (#ffffff is the RGB code for white), and the page background
will be blue. Note that "blue" probably isn't the same color as the blue on
your site, so you'll need to change that value to match what you want. If I
recall from your PDF page, it was closer to "navy" which has the RGB value
of #000080.

Note that this will impact ALL text EXCEPT links. Links have to have their
text styled explicitly and Steve's CSS below can be used/modified to make
them work correctly. The "background-color: transparent;" declaration that
he uses simply means "show the existing background color" which, in this
case would be the blue, or navy, that you declare in the body statement I've
shown.

For more info on using CSS:
http://www.w3schools.com/css
http://www.mako4css.com
 
You've been a big help.
I will read the website and try to understand these concepts better.
I understand everything you said, thanks again.
 
The #000080 is pretty far off on the color I need.
Do you have any idea how I can sample my color and find out the exact number
it is.
This web color was done before my time. All the pages point to a file, for
the background color.
 
The rgb value for your background is rgb(45,9,105)
The hex value is #2D0969


;-)

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
I'm glad you said that. I opened the blue.gif file in MSPaint and figured
out the 45,9,105 number.
At least I got the same value. The hex conversion is easy too. Thanks for
the confirmation.
 
I used a little utility named 3C which you can open and click on any color
in a page and it will return both values.
I was going to post a link so you could download and use it, but both links
to where it "used to be" are dead.

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
Back
Top