Solved

Mouseover an Image

Posted on 1998-12-22
1
153 Views
Last Modified: 2012-05-04
Hi experts,
    Can anyone show me how to display text with carriage return on each line of the text when my mouse is over the image. I know by putting in the "alt" and follow by the text works, but what I want is that I also want to break the text. got what I mean ?


thanks
0
Comment
Question by:pcseah
1 Comment
 
LVL 4

Accepted Solution

by:
rafistern earned 50 total points
ID: 1840946
Split the text with hard carriage returns in your code:

<img src="animage.gif" width=50 height=35 alt="This is a line
and this is another
and this is yet another">
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Someone recently asked me about how to display a progress indicator on a page while an iframe is loading. And I remember when I first came across this myself. It was a bit tricky to get my head around, but really, it's very simple. The most impor…
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question