Board Logo

text wrap
cmes - 3/27/2003 at 09:49 AM

is it possible to get the text wrapped inside the hint. I'm using your sample with the XP-style (as used in bottom of demo) but I need to put a few lines of text. The window is a popup of max 400 wide. How can I make the hints a max number of pixels wide with wrap.

nik - 3/28/2003 at 09:17 AM

You should just insert <br> where you want to have a line break.

thegreatone - 9/18/2003 at 02:15 PM

What would be the best way to have the tip "stretch" to fit in several lines of text? Should I change the height attributes or the rowspan?

Basically, I want each image that makes up the tip to grow to fit the text passed to it...

Any suggestions?

nik - 9/19/2003 at 08:02 AM

If you don't want your line to break you should insert &nbsp; instead of breaks. Where you want it to break insert <br>.

JugglingReferee - 6/5/2004 at 12:42 PM

I too would like to do this: have multiple lines with my hint using this "XP-style" of hint. I can insert a <br> into my hint no problem, and the hint shows up on as many lines as I instructed it to.

The issue is that the exclamation mark graphic does not expand vertically with the multiple lines of text.

Any ideas?

Filipo - 10/5/2005 at 09:48 PM

The solution is to cut the images in smaller pieces, and rewrite the ... Aghhhh! It's very dificult to me to write in english! Here you have de solution. I changed the table, and the Build function.

See this demo:

Back to forum: