george Posted November 14, 2008 Share Posted November 14, 2008 I have an ALT attribute for an <img tag, and my ALT message is a bit long. <img src="p7exp/images/Horn_of_plenty.jpg" width="800" height="538" alt="Horn of Plenty Symbol of the harvest and of thanksgiving."/> I would like to insert a line break, carrage return pair, or something, so that my alt message reads Horn of PlentySymbol of the harvest and of thanksgiving. A \r\n works in an alert or prompt box, <br /> works in HTML. What works in an ALT message? Link to comment Share on other sites More sharing options...
jlhaslip Posted November 14, 2008 Share Posted November 14, 2008 http://jlhaslip.trap17.com/samples/tooltips/Try using the html entity " ". Link to comment Share on other sites More sharing options...
inktherapy Posted November 14, 2008 Share Posted November 14, 2008 Hi,Can I ask what is your purpose in breaking it to 2 lines?You can write it this way alt="Horn of Plenty (Symbol of the harvest and of thanksgiving.)" so it can be divided as an added information but if this is not your objective please disregard this idea... have a nice day. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.