Jump to content
Sign in to follow this  
Darkness

Putting mouse of a word and it says something... Err... Something

Recommended Posts

Yeah... :) Does anyone know how to make that info box come up when you put the mouse over an image, text, etc.? I don't quite know how to explain it, but, uh, click Back, and put your cursor over a topic title. A think will come up saying when the topic was created or whatever. How do you do that? Or is that not HTML?

Share this post


Link to post
Share on other sites

Do you mean this?

<img src="url_for_image" alt="This text will appear when you take your mouse over the image" />

Share this post


Link to post
Share on other sites

The alt attribute wasn't made to make text show up on an image when you put your mouse over it. It is supposed to show up when the browser is unable to access an image. Internet Explorer doesn't use it properly, but Firefox does. If you want to make text show up while your mouse is over it, you can use "title":

<img src="where your file is" alt="text here" title="text here" width="width of image" height="height of image" />

If you want stuff to show up while your mouse is over text, you can use:

<a href="hyperlink (optional)" title="text here">text here</a>

Delete the "href" part if you're not using a hyperlink.

Share this post


Link to post
Share on other sites
Most likely is, but, dosen't seem to be working...
That's because you need to hold your mouse over it 'till it comes.And if you want a linebreak you can just push enter and continue your text. I don't know if this works in all browsers, though

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...