You can do text decoration for a link hovered over, but can you do one that
is for one currently being visited? This is what i have right now.

a {color: #660000;}
a:link {text-decoration: underline}
a:visited {text-decoration: underline}
a:hover {text-decoration: underline}

Re: Current Link Decoration? by Trevor

Trevor
Tue Apr 08 18:25:59 CDT 2008


"RoadKill" <RoadKill@discussions.microsoft.com> wrote in message
news:235E31D9-9F77-4ADE-8ABC-B06BC7D9AF2D@microsoft.com...
> You can do text decoration for a link hovered over, but can you do one
> that
> is for one currently being visited? This is what i have right now.
>
> a {color: #660000;}
> a:link {text-decoration: underline}
> a:visited {text-decoration: underline}
> a:hover {text-decoration: underline}

Use a:active

Examples are given in http://www.w3schools.com/CSS/css_pseudo_classes.asp
a:link {color: #FF0000} /* unvisited link */
a:visited {color: #00FF00} /* visited link */
a:hover {color: #FF00FF} /* mouse over link */
a:active {color: #0000FF} /* selected link */

Note that the order is important
--
Trevor Lawrence
Canberra
Microsoft MVP - FrontPage
MVP Web Site http://trevorl.mvps.org



Re: Current Link Decoration? by RoadKill

RoadKill
Tue Apr 08 18:43:00 CDT 2008

But doesn't active just cover it until the page actually loads? That seems to
be the case on our intranet site anyway.

"Trevor Lawrence" wrote:

>
> "RoadKill" <RoadKill@discussions.microsoft.com> wrote in message
> news:235E31D9-9F77-4ADE-8ABC-B06BC7D9AF2D@microsoft.com...
> > You can do text decoration for a link hovered over, but can you do one
> > that
> > is for one currently being visited? This is what i have right now.
> >
> > a {color: #660000;}
> > a:link {text-decoration: underline}
> > a:visited {text-decoration: underline}
> > a:hover {text-decoration: underline}
>
> Use a:active
>
> Examples are given in http://www.w3schools.com/CSS/css_pseudo_classes.asp
> a:link {color: #FF0000} /* unvisited link */
> a:visited {color: #00FF00} /* visited link */
> a:hover {color: #FF00FF} /* mouse over link */
> a:active {color: #0000FF} /* selected link */
>
> Note that the order is important
> --
> Trevor Lawrence
> Canberra
> Microsoft MVP - FrontPage
> MVP Web Site http://trevorl.mvps.org
>
>
>

Re: Current Link Decoration? by Stefan

Stefan
Wed Apr 09 05:38:56 CDT 2008

Correct
- active is only the one with a mousedown event currently in effect

For any currently visited page style (different when that page is loaded)
- you will need a client side or server side script (not just a CSS style) to determine which page you are on
Search for breadcrumb navigation scripts (they usually include a current page node)

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
_____________________________________________


"RoadKill" <RoadKill@discussions.microsoft.com> wrote in message news:2A48FCB2-BF46-4F35-A086-96B27D38B6CF@microsoft.com...
| But doesn't active just cover it until the page actually loads? That seems to
| be the case on our intranet site anyway.
|
| "Trevor Lawrence" wrote:
|
| >
| > "RoadKill" <RoadKill@discussions.microsoft.com> wrote in message
| > news:235E31D9-9F77-4ADE-8ABC-B06BC7D9AF2D@microsoft.com...
| > > You can do text decoration for a link hovered over, but can you do one
| > > that
| > > is for one currently being visited? This is what i have right now.
| > >
| > > a {color: #660000;}
| > > a:link {text-decoration: underline}
| > > a:visited {text-decoration: underline}
| > > a:hover {text-decoration: underline}
| >
| > Use a:active
| >
| > Examples are given in http://www.w3schools.com/CSS/css_pseudo_classes.asp
| > a:link {color: #FF0000} /* unvisited link */
| > a:visited {color: #00FF00} /* visited link */
| > a:hover {color: #FF00FF} /* mouse over link */
| > a:active {color: #0000FF} /* selected link */
| >
| > Note that the order is important
| > --
| > Trevor Lawrence
| > Canberra
| > Microsoft MVP - FrontPage
| > MVP Web Site http://trevorl.mvps.org
| >
| >
| >



Re: Current Link Decoration? by RoadKill

RoadKill
Wed Apr 09 11:23:00 CDT 2008

That is what I was afraid of. One group of our company uses IDs for the links
and puts a style linked to it in each page. For a larger website with a
hundred or so pages, this doesn't sound like fun.

Thanks for your advice, I'll see what is out there.

"Stefan B Rusynko" wrote:

> Correct
> - active is only the one with a mousedown event currently in effect
>
> For any currently visited page style (different when that page is loaded)
> - you will need a client side or server side script (not just a CSS style) to determine which page you are on
> Search for breadcrumb navigation scripts (they usually include a current page node)
>
> --
>
> _____________________________________________
> SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
> "Warning - Using the F1 Key will not break anything!" (-;
> To find the best Newsgroup for FrontPage support see:
> http://www.net-sites.com/sitebuilder/newsgroups.asp
> _____________________________________________
>
>
> "RoadKill" <RoadKill@discussions.microsoft.com> wrote in message news:2A48FCB2-BF46-4F35-A086-96B27D38B6CF@microsoft.com...
> | But doesn't active just cover it until the page actually loads? That seems to
> | be the case on our intranet site anyway.
> |
> | "Trevor Lawrence" wrote:
> |
> | >
> | > "RoadKill" <RoadKill@discussions.microsoft.com> wrote in message
> | > news:235E31D9-9F77-4ADE-8ABC-B06BC7D9AF2D@microsoft.com...
> | > > You can do text decoration for a link hovered over, but can you do one
> | > > that
> | > > is for one currently being visited? This is what i have right now.
> | > >
> | > > a {color: #660000;}
> | > > a:link {text-decoration: underline}
> | > > a:visited {text-decoration: underline}
> | > > a:hover {text-decoration: underline}
> | >
> | > Use a:active
> | >
> | > Examples are given in http://www.w3schools.com/CSS/css_pseudo_classes.asp
> | > a:link {color: #FF0000} /* unvisited link */
> | > a:visited {color: #00FF00} /* visited link */
> | > a:hover {color: #FF00FF} /* mouse over link */
> | > a:active {color: #0000FF} /* selected link */
> | >
> | > Note that the order is important
> | > --
> | > Trevor Lawrence
> | > Canberra
> | > Microsoft MVP - FrontPage
> | > MVP Web Site http://trevorl.mvps.org
> | >
> | >
> | >
>
>
>