Reply to Re: link hover effect help

Your name:

Reply:


Posted by Jonathan N. Little on 06/07/07 15:46

M wrote:
> <frank.iasi@gmail.com> wrote in message
> news:1181228829.481819.217200@q69g2000hsb.googlegroups.com...
>
>
>>> Then change the link content.
>> I think if that's what he wants to do he would have done it...
>
> I think previous poster is saying there is no other way to do it. It goes
> with the tag -- you can't make only part of the link tag appear underlined.

Not sure why but...

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<meta http-equiv="content-language" content="en-us">

<title>template</title>

<style type="text/css">
a.veryOdd { display: block; text-decoration: none; }
a.veryOdd span { display: block; }

/* you must set something directly to the pseudo
class else MSIE will not apply the rult to the
following child rule!
*/
a.veryOdd:hover { color: red; }
a.veryOdd:hover span { text-decoration: underline; }

</style>


</head>
<body>

<p>
Is this what you mean?
<a href="#" class="veryOdd">Double <span>Decker</span></a>
</p>
</body>
</html>


--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация