Hyperlink underline

T

thummer

Thanks for the secret. Now some of my hyperlinks change font size on
rollover on the same page. How can I make all of them keep the same font
size on rollover?
 
K

Kevin Spencer

Hi thummer,

You have 2 distinct styles defined in your HTML:

<style type="text/css">
<!--
a {text-decoration:none}
-->
</style>

<style fprolloverstyle>A:hover {color: #008000; font-family: Georgia;
text-decoration: underline}
</style>

The first, the one which Kathleen suggested, indicates that anchors
(hyperlinks) should not have underlines. The second, which I suspect
FrontPage added by your command, indicates a font, a color, and an underline
when the mouse "hovers" over an anchor. If you remove the second style, that
behavior will not happen. Alternatively, you could modify the style so that
the underline does not appear.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
 
T

thummer

I want no underline on the hyperlinks, change color and underline on hover
with no change in font size. How do I do it?
 
R

Ronx

Modify the second style without the font.
<style fprolloverstyle>A:hover {color: #008000; text-decoration: underline}
 
K

Kevin Spencer

I want no underline on the hyperlinks, change color and underline on hover
with no change in font size. How do I do it?

To quote me:

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
 

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

Top