I can't remember the span-tag... please help me out...

They have: 19 posts

Joined: Jun 2001

Hello there!

I'm sure you know this... Some time ago I discovered a span- or style-tag that allowed a mouseover-link-color-change-effect. This allows the user to change the color exactly where it's needed. Because if you put the css-thing in your head section it works for *all* links, but I don't want that. But I don't remember the tag... Roll eyes
Does anyone know the span- or style-tag I'm talking about?

-- Estacado

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

you could do something like this:

<html>
<head>
<style>
a { color: ff0000; }
a:hover { color: 0000ff; }
a.nav { color: 990000; }
a.nav:hover { color: 000099; }
</style>
</head>
<body>

<a href="asdf.htm">normal link</a>

<a href="adsf.htm" class=nav>navigation link</a>

</body>
</html>
'This will work in IE, and NN6.0. NN4.x is tooooo primitive to understand the complexities of hover. =P

[waiting for someone to validate my CSS]

Mark Hensler
If there is no answer on Google, then there is no question.

They have: 19 posts

Joined: Jun 2001

Yes, yes... thanks Mark!

But I was looking for a "span style"-tag...
Do you know how this would be then?

Should look s.th. like

Can you guys help me out?
Confused

-- Estacado

They have: 105 posts

Joined: Jun 2001

Test Will this do it?

They have: 19 posts

Joined: Jun 2001

Actually, yes, it does the trick - but it's still not the tag I'm looking for... thanks anyway.
But I'll use your suggestions until I find the "real" one.

I'll keep you informed.

-- Estacado

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

Yes, please let us know if you find it. I've often wondered, but never found one. Wink

They have: 105 posts

Joined: Jun 2001

Maybe: Text I'm really getting out of options now.

They have: 19 posts

Joined: Jun 2001

Nooooo... I'll do some research and then post my result here, okay... give me some more time...
Doh!

They have: 16 posts

Joined: Aug 2000

You're looking for inline CSS, which is explained well at this page: http://css.nu/examples/inline.html

HTH,
Tiffany

disaster-master's picture

She has: 2,154 posts

Joined: May 2001

Don't know if this is what you are looking for but Glassdog has some good examples of the span or style tags. The URL will take you to his style introduction.

http://glassdog.com/design-o-rama/css/index.html

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.