Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Mouseover an Image

Posted on 1998-12-22
1
Medium Priority
?
158 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 200 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

927 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