![]() |
| ||
| Linefeed in image title I have tried to insert a linefeed in the "title=" text in an <img> tag. Both \n and <br /> are shown exactly as written. Is there a trick to make it actually break the line? |
| ||
| Re: Linefeed in image title From what I have read, there shouldn't actually be new lines in the title attribute. BUT if you do want to try, use "
" which is a carriage return. In firefox, the return is converted to a space, but in IE you will see a line break in the tool tip (which I think is incorrect behaviour). Hope that helps... |
| ||
| Re: Linefeed in image title Quote:
There should be a better solution, but I guess I'll just not show any title but open a small message box instead. |
| All times are GMT -4. The time now is 6:12 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC