Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

A way to remove the "underline" from hyperlinks? 2

Status
Not open for further replies.

gusbrunston

Programmer
Feb 27, 2001
1,234
US
[tt]
Hi:

Somewhere I saw how to remove the underline from hyperlinks in Front Page, but can't remember anymore. Anyone else able to point me in the right direction? Thanks for looking at this thread.

Cheers,[/tt]

[glasses][tt] Gus Brunston - Access2002(DAO)[/tt] Intermediate skills.
 
[tt]
Thank you, Tiffany, for your help with my request about removing the underlines from the email addresses.

I have not been able to make it work.

When I enter the code in

<HEAD><STYLE> . . . </STYLE></HEAD>

the code I enter is faded out (visible, but gray), and the underlines are not effected.

I'm sure there is some reason that is beyond my skill level in html.

If you know why the code I enter is grayed (out) that might be a plus.

By the way, I am using Front Page 2002.

Thanks again,


[glasses][tt] Gus Brunston - Access2002(DAO)[/tt] Intermediate skills.
 
The code is gray in the HTML view because any code withing comment tags ( <!-- ... --> ) displays in the HTML view as gray in color. It is just FP's way of giving you a visual aid to locating code in the HTML view. FWIW, it should appear as gray in the code... that part is normal.

Do you have a URL example of a page with the styles in the HTML code that I can look at for you?

Also try changing the
A { text-decoration: none; }
to
A:link { text-decoration: none; }

and see if that makes a difference for you.

Tiffany

Microsoft MVP - FrontPage
 
[tt]
Hi, Tiffany:

Sure, and I should have given the URL.

It's:
Thanks for your interest!

[glasses][tt] Gus Brunston - Access2002(DAO)[/tt] Intermediate skills.
 
Hi Gus,

I took a look at the page and the code. the style code for no underlines isn't on this page that I could see. I did see:

<style fprolloverstyle>A:hover {color: #FFCC99; font-weight: bold}
</style>

Which I would suggest you replace with the following instead:

<style fprolloverstyle>
A:link {text-decoration: none;}
A:hover {color: #FFCC99; font-weight: bold}
</style>

Which is basically just placing the A:link line inside your existing head sections styles.

Tiffany

Microsoft MVP - FrontPage
 
Hi Gus,

Add this to your <a></a> tag:

style=&quot;text-decoration: none&quot;

For example:

<a href=&quot;mailto:you@rentdex.com&quot; style=&quot;text-decoration: none&quot;>you@rentdex.com</a>



JoJoH

 
[tt]
Well, thanks to both of you! I've worked on this on and off all day, and finally found the place to enter the code, and how to get it in without FP reformatting it into something else. I don't understand that part of Front Page. But, my knowledge of HTML consists mostly of cut and pasting.

Tiffany, when I posted the URL, I had taken the code out of the page, thinking it was best to start clean on each attempt--that's why you didn't see the code when you looked.

You probably also recognized that I had not properly referred to the background picture (I was referring to the picture on my local C: drive.) I think I've corrected that, so that visitors will not be looking at a white font on a light background!

Thanks for your help. I knew I could count on you.

Cheers,

[glasses][tt] Gus Brunston - Access2002(DAO)[/tt] Intermediate skills.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top