PC Review Forums Newsgroups Microsoft Word Microsoft Frontpage Problem formatting hyperlinks

Reply

Problem formatting hyperlinks

 
Thread Tools Rate Thread
Old 16-09-2005, 03:21 PM   #1
=?Utf-8?B?c2FuZ2VudWVy?=
Guest
 
Posts: n/a
Default Problem formatting hyperlinks


Let me preface this by saying I don't know HTML. I'm just using the FP
features (mostly styles) to design my web site.

But I'm trying to get FP to give me hyperlinks that look different in
a:link, a:hover and a:visited. What I want is colored plain text for a:link,
either a different colored plain text or underlined plain text for a:hover,
then back to the same as a:link for visited.

I can get FP to do some of this, i.e. the text is blue for a:link and
a:visited, but won't change color on hover. Or I can get it to change color
or underline on hover but not change back for visited. I've tried various
configurations with selecting the box for "text decoration," to no avail.

Can someone either tell me what to put in the "modify styles" box or give me
some code that I can copy to make it do this? Thanks.




  Reply With Quote
Old 16-09-2005, 03:41 PM   #2
Steve Easton
Guest
 
Posts: n/a
Default Re: Problem formatting hyperlinks

Make sure the styles are in the correct sequence:

a:link {
background-color: transparent;
color: #0000FF;
text-decoration: none;
}
a:visited {
background-color: transparent;
color: teal;
text-decoration: none;
}
a:active {
background-color: transparent;
color: Blue;
text-decoration: none;
}
a:hover {
background-color: transparent;
color: #FF0000;
text-decoration: underline;


Change the colors to those that you need.

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

"sangenuer" <sangenuer@discussions.microsoft.com> wrote in message
news:A7B85100-0CCF-4666-B5A9-25CCA798CEF4@microsoft.com...
> Let me preface this by saying I don't know HTML. I'm just using the FP
> features (mostly styles) to design my web site.
>
> But I'm trying to get FP to give me hyperlinks that look different in
> a:link, a:hover and a:visited. What I want is colored plain text for

a:link,
> either a different colored plain text or underlined plain text for

a:hover,
> then back to the same as a:link for visited.
>
> I can get FP to do some of this, i.e. the text is blue for a:link and
> a:visited, but won't change color on hover. Or I can get it to change

color
> or underline on hover but not change back for visited. I've tried

various
> configurations with selecting the box for "text decoration," to no

avail.
>
> Can someone either tell me what to put in the "modify styles" box or

give me
> some code that I can copy to make it do this? Thanks.
>
>
>
>



  Reply With Quote
Old 16-09-2005, 03:48 PM   #3
=?Utf-8?B?Q293Ym95IChHcmVnb3J5IEEuIEJlYW1lcikgLSBN
Guest
 
Posts: n/a
Default RE: Problem formatting hyperlinks

You need to set up styles for A:link, A:hover and A:visited. In the style
sheet, no underline = text-decoration: none; Paste this into the style sheet
(or HTML head section where your <style> block is:

A
{
text-decoration: none;
}
A:link
{
color: Blue;
}
A:hover
{
color: Magenta;
text-decoration: underline;
}
A:visited
{
color: blue;
}

This will look similar, in color, to normal links. After you paste this in,
you can edit the styles to look however you desire.

Yes, this is outside of the "normal" FrontPage methodology, but I find it
easier some times to paste in some code and then use the UI tools, esp. with
older versions of FrontPage.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************


"sangenuer" wrote:

> Let me preface this by saying I don't know HTML. I'm just using the FP
> features (mostly styles) to design my web site.
>
> But I'm trying to get FP to give me hyperlinks that look different in
> a:link, a:hover and a:visited. What I want is colored plain text for a:link,
> either a different colored plain text or underlined plain text for a:hover,
> then back to the same as a:link for visited.
>
> I can get FP to do some of this, i.e. the text is blue for a:link and
> a:visited, but won't change color on hover. Or I can get it to change color
> or underline on hover but not change back for visited. I've tried various
> configurations with selecting the box for "text decoration," to no avail.
>
> Can someone either tell me what to put in the "modify styles" box or give me
> some code that I can copy to make it do this? Thanks.
>
>
>
>

  Reply With Quote
Old 16-09-2005, 04:00 PM   #4
Murray
Guest
 
Posts: n/a
Default Re: Problem formatting hyperlinks

Actually, this is right in the UI of FP 2003 - select a link, and use FORMAT
| Style > and there the 4 pseudo-classes are, right at the top of the list.

By the way, I'd change that CSS you show to this -

A
{
text-decoration: none;
color:blue;
}
A:hover
{
color: Magenta;
text-decoration: underline;
}

Of course, that will color your named anchors, too, so you might need to
qualify it a bit.

--
Murray
============

"Cowboy (Gregory A. Beamer) - MVP" <NoSpamMgbworld@comcast.netNoSpamM> wrote
in message news:469592C9-923F-4570-B30E-B2A1DCE9D2C5@microsoft.com...
> You need to set up styles for A:link, A:hover and A:visited. In the style
> sheet, no underline = text-decoration: none; Paste this into the style
> sheet
> (or HTML head section where your <style> block is:
>
> A
> {
> text-decoration: none;
> }
> A:link
> {
> color: Blue;
> }
> A:hover
> {
> color: Magenta;
> text-decoration: underline;
> }
> A:visited
> {
> color: blue;
> }
>
> This will look similar, in color, to normal links. After you paste this
> in,
> you can edit the styles to look however you desire.
>
> Yes, this is outside of the "normal" FrontPage methodology, but I find it
> easier some times to paste in some code and then use the UI tools, esp.
> with
> older versions of FrontPage.
>
> --
> Gregory A. Beamer
> MVP; MCP: +I, SE, SD, DBA
>
> ***************************
> Think Outside the Box!
> ***************************
>
>
> "sangenuer" wrote:
>
>> Let me preface this by saying I don't know HTML. I'm just using the FP
>> features (mostly styles) to design my web site.
>>
>> But I'm trying to get FP to give me hyperlinks that look different in
>> a:link, a:hover and a:visited. What I want is colored plain text for
>> a:link,
>> either a different colored plain text or underlined plain text for
>> a:hover,
>> then back to the same as a:link for visited.
>>
>> I can get FP to do some of this, i.e. the text is blue for a:link and
>> a:visited, but won't change color on hover. Or I can get it to change
>> color
>> or underline on hover but not change back for visited. I've tried various
>> configurations with selecting the box for "text decoration," to no avail.
>>
>> Can someone either tell me what to put in the "modify styles" box or give
>> me
>> some code that I can copy to make it do this? Thanks.
>>
>>
>>
>>



  Reply With Quote
Old 16-09-2005, 04:05 PM   #5
Murray
Guest
 
Posts: n/a
Default Re: Problem formatting hyperlinks

Steve:

Minor changes (and one major omission) -

a:link, a:visited, a:hover,a:active {
background-color: transparent;
color: #0000FF;
text-decoration: none;
}

a:visited {
color: teal;
}
a:active {
color: Blue;
}
a:hover {
color: #FF0000;
text-decoration: underline;
}
^----------------------- Don't forget this closing brace!


--
Murray
============

"Steve Easton" <admin@95isalive.com> wrote in message
news:%23S6w9RsuFHA.2948@TK2MSFTNGP15.phx.gbl...
> Make sure the styles are in the correct sequence:
>
> a:link {
> background-color: transparent;
> color: #0000FF;
> text-decoration: none;
> }
> a:visited {
> background-color: transparent;
> color: teal;
> text-decoration: none;
> }
> a:active {
> background-color: transparent;
> color: Blue;
> text-decoration: none;
> }
> a:hover {
> background-color: transparent;
> color: #FF0000;
> text-decoration: underline;
>
>
> Change the colors to those that you need.
>
> --
> Steve Easton
> Microsoft MVP FrontPage
> 95isalive
> This site is best viewed..................
> ..............................with a computer
>
> "sangenuer" <sangenuer@discussions.microsoft.com> wrote in message
> news:A7B85100-0CCF-4666-B5A9-25CCA798CEF4@microsoft.com...
>> Let me preface this by saying I don't know HTML. I'm just using the FP
>> features (mostly styles) to design my web site.
>>
>> But I'm trying to get FP to give me hyperlinks that look different in
>> a:link, a:hover and a:visited. What I want is colored plain text for

> a:link,
>> either a different colored plain text or underlined plain text for

> a:hover,
>> then back to the same as a:link for visited.
>>
>> I can get FP to do some of this, i.e. the text is blue for a:link and
>> a:visited, but won't change color on hover. Or I can get it to change

> color
>> or underline on hover but not change back for visited. I've tried

> various
>> configurations with selecting the box for "text decoration," to no

> avail.
>>
>> Can someone either tell me what to put in the "modify styles" box or

> give me
>> some code that I can copy to make it do this? Thanks.
>>
>>
>>
>>

>
>



  Reply With Quote
Old 16-09-2005, 05:21 PM   #6
=?Utf-8?B?c2FuZ2VudWVy?=
Guest
 
Posts: n/a
Default Re: Problem formatting hyperlinks

Thanks so much to all of you--it works!


"Murray" wrote:

> Actually, this is right in the UI of FP 2003 - select a link, and use FORMAT
> | Style > and there the 4 pseudo-classes are, right at the top of the list.
>
> By the way, I'd change that CSS you show to this -
>
> A
> {
> text-decoration: none;
> color:blue;
> }
> A:hover
> {
> color: Magenta;
> text-decoration: underline;
> }
>
> Of course, that will color your named anchors, too, so you might need to
> qualify it a bit.
>
> --
> Murray
> ============
>
> "Cowboy (Gregory A. Beamer) - MVP" <NoSpamMgbworld@comcast.netNoSpamM> wrote
> in message news:469592C9-923F-4570-B30E-B2A1DCE9D2C5@microsoft.com...
> > You need to set up styles for A:link, A:hover and A:visited. In the style
> > sheet, no underline = text-decoration: none; Paste this into the style
> > sheet
> > (or HTML head section where your <style> block is:
> >
> > A
> > {
> > text-decoration: none;
> > }
> > A:link
> > {
> > color: Blue;
> > }
> > A:hover
> > {
> > color: Magenta;
> > text-decoration: underline;
> > }
> > A:visited
> > {
> > color: blue;
> > }
> >
> > This will look similar, in color, to normal links. After you paste this
> > in,
> > you can edit the styles to look however you desire.
> >
> > Yes, this is outside of the "normal" FrontPage methodology, but I find it
> > easier some times to paste in some code and then use the UI tools, esp.
> > with
> > older versions of FrontPage.
> >
> > --
> > Gregory A. Beamer
> > MVP; MCP: +I, SE, SD, DBA
> >
> > ***************************
> > Think Outside the Box!
> > ***************************
> >
> >
> > "sangenuer" wrote:
> >
> >> Let me preface this by saying I don't know HTML. I'm just using the FP
> >> features (mostly styles) to design my web site.
> >>
> >> But I'm trying to get FP to give me hyperlinks that look different in
> >> a:link, a:hover and a:visited. What I want is colored plain text for
> >> a:link,
> >> either a different colored plain text or underlined plain text for
> >> a:hover,
> >> then back to the same as a:link for visited.
> >>
> >> I can get FP to do some of this, i.e. the text is blue for a:link and
> >> a:visited, but won't change color on hover. Or I can get it to change
> >> color
> >> or underline on hover but not change back for visited. I've tried various
> >> configurations with selecting the box for "text decoration," to no avail.
> >>
> >> Can someone either tell me what to put in the "modify styles" box or give
> >> me
> >> some code that I can copy to make it do this? Thanks.
> >>
> >>
> >>
> >>

>
>
>

  Reply With Quote
Old 16-09-2005, 05:53 PM   #7
Steve Easton
Guest
 
Posts: n/a
Default Re: Problem formatting hyperlinks

;-)

I was more concerned about showing the correct order.

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

"Murray" <forums@HAHAgreat-web-sights.com> wrote in message
news:OA9F7fsuFHA.1560@TK2MSFTNGP09.phx.gbl...
> Steve:
>
> Minor changes (and one major omission) -
>
> a:link, a:visited, a:hover,a:active {
> background-color: transparent;
> color: #0000FF;
> text-decoration: none;
> }
>
> a:visited {
> color: teal;
> }
> a:active {
> color: Blue;
> }
> a:hover {
> color: #FF0000;
> text-decoration: underline;
> }
> ^----------------------- Don't forget this closing brace!
>
>
> --
> Murray
> ============
>
> "Steve Easton" <admin@95isalive.com> wrote in message
> news:%23S6w9RsuFHA.2948@TK2MSFTNGP15.phx.gbl...
> > Make sure the styles are in the correct sequence:
> >
> > a:link {
> > background-color: transparent;
> > color: #0000FF;
> > text-decoration: none;
> > }
> > a:visited {
> > background-color: transparent;
> > color: teal;
> > text-decoration: none;
> > }
> > a:active {
> > background-color: transparent;
> > color: Blue;
> > text-decoration: none;
> > }
> > a:hover {
> > background-color: transparent;
> > color: #FF0000;
> > text-decoration: underline;
> >
> >
> > Change the colors to those that you need.
> >
> > --
> > Steve Easton
> > Microsoft MVP FrontPage
> > 95isalive
> > This site is best viewed..................
> > ..............................with a computer
> >
> > "sangenuer" <sangenuer@discussions.microsoft.com> wrote in message
> > news:A7B85100-0CCF-4666-B5A9-25CCA798CEF4@microsoft.com...
> >> Let me preface this by saying I don't know HTML. I'm just using the

FP
> >> features (mostly styles) to design my web site.
> >>
> >> But I'm trying to get FP to give me hyperlinks that look different

in
> >> a:link, a:hover and a:visited. What I want is colored plain text

for
> > a:link,
> >> either a different colored plain text or underlined plain text for

> > a:hover,
> >> then back to the same as a:link for visited.
> >>
> >> I can get FP to do some of this, i.e. the text is blue for a:link

and
> >> a:visited, but won't change color on hover. Or I can get it to

change
> > color
> >> or underline on hover but not change back for visited. I've tried

> > various
> >> configurations with selecting the box for "text decoration," to no

> > avail.
> >>
> >> Can someone either tell me what to put in the "modify styles" box

or
> > give me
> >> some code that I can copy to make it do this? Thanks.
> >>
> >>
> >>
> >>

> >
> >

>
>



  Reply With Quote
Old 16-09-2005, 06:00 PM   #8
Murray
Guest
 
Posts: n/a
Default Re: Problem formatting hyperlinks

You did a really good job with that! 8)

--
Murray
============

"Steve Easton" <admin@95isalive.com> wrote in message
news:OL77zbtuFHA.2512@TK2MSFTNGP10.phx.gbl...
> ;-)
>
> I was more concerned about showing the correct order.
>
> --
> Steve Easton
> Microsoft MVP FrontPage
> 95isalive
> This site is best viewed..................
> ..............................with a computer
>
> "Murray" <forums@HAHAgreat-web-sights.com> wrote in message
> news:OA9F7fsuFHA.1560@TK2MSFTNGP09.phx.gbl...
>> Steve:
>>
>> Minor changes (and one major omission) -
>>
>> a:link, a:visited, a:hover,a:active {
>> background-color: transparent;
>> color: #0000FF;
>> text-decoration: none;
>> }
>>
>> a:visited {
>> color: teal;
>> }
>> a:active {
>> color: Blue;
>> }
>> a:hover {
>> color: #FF0000;
>> text-decoration: underline;
>> }
>> ^----------------------- Don't forget this closing brace!
>>
>>
>> --
>> Murray
>> ============
>>
>> "Steve Easton" <admin@95isalive.com> wrote in message
>> news:%23S6w9RsuFHA.2948@TK2MSFTNGP15.phx.gbl...
>> > Make sure the styles are in the correct sequence:
>> >
>> > a:link {
>> > background-color: transparent;
>> > color: #0000FF;
>> > text-decoration: none;
>> > }
>> > a:visited {
>> > background-color: transparent;
>> > color: teal;
>> > text-decoration: none;
>> > }
>> > a:active {
>> > background-color: transparent;
>> > color: Blue;
>> > text-decoration: none;
>> > }
>> > a:hover {
>> > background-color: transparent;
>> > color: #FF0000;
>> > text-decoration: underline;
>> >
>> >
>> > Change the colors to those that you need.
>> >
>> > --
>> > Steve Easton
>> > Microsoft MVP FrontPage
>> > 95isalive
>> > This site is best viewed..................
>> > ..............................with a computer
>> >
>> > "sangenuer" <sangenuer@discussions.microsoft.com> wrote in message
>> > news:A7B85100-0CCF-4666-B5A9-25CCA798CEF4@microsoft.com...
>> >> Let me preface this by saying I don't know HTML. I'm just using the

> FP
>> >> features (mostly styles) to design my web site.
>> >>
>> >> But I'm trying to get FP to give me hyperlinks that look different

> in
>> >> a:link, a:hover and a:visited. What I want is colored plain text

> for
>> > a:link,
>> >> either a different colored plain text or underlined plain text for
>> > a:hover,
>> >> then back to the same as a:link for visited.
>> >>
>> >> I can get FP to do some of this, i.e. the text is blue for a:link

> and
>> >> a:visited, but won't change color on hover. Or I can get it to

> change
>> > color
>> >> or underline on hover but not change back for visited. I've tried
>> > various
>> >> configurations with selecting the box for "text decoration," to no
>> > avail.
>> >>
>> >> Can someone either tell me what to put in the "modify styles" box

> or
>> > give me
>> >> some code that I can copy to make it do this? Thanks.
>> >>
>> >>
>> >>
>> >>
>> >
>> >

>>
>>

>
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off