Log in

View Full Version : Maybe a long shot



ModernRevolutions
08-27-2006, 09:48 PM
is there a code for when you hover over a link that there is a desription think. Like hover over home and it says click here or something.

boxxertrumps
08-27-2006, 09:58 PM
like this?

<img scr="home image URL" alt="Discripting Text"></img>

blm126
08-27-2006, 10:01 PM
<a href="#" title="Hover shows this.">Hover over this</a>

Change bolded part to what you want it to say.
boxxertrumps: the code you posted has no relevance to this topic.

boxxertrumps
08-27-2006, 10:05 PM
the "alt=" tag acheives the same effect, only with an image instead of text.

ModernRevolutions
08-27-2006, 10:16 PM
thank you!

man i love this site. its like a fast HTML resturant.

lol

blm126
08-27-2006, 10:21 PM
the "alt=" tag acheives the same effect, only with an image instead of text.
Maybe that will work, maybe it won't. The w3c specs for the img (http://www.w3.org/TR/html4/struct/objects.html#adef-alt) tag don't say that it should.

Twey
08-27-2006, 10:59 PM
the "alt=" tag acheives the same effect, only with an image instead of text.Wrong. The alt attribute is meant to provide text in case the image can't be displayed. Internet Explorer also displays this text in a tooltip on hover if title (the attribute that's meant to be displayed as an accompaniment to the image) isn't specified, but nowhere in the specs is this recommended.

mburt
08-27-2006, 11:11 PM
Ha! I was about to post the same thing as blm126 here. But then I decided not to because it seemed almost... a cheap way around doing things.

blm126
08-27-2006, 11:28 PM
Why is it cheap? I try not to over complicate things.