From: Jeremy Bopp Date: 2010-10-05T23:46:54+09:00 Subject: Re: Tooltip with css_tt On 10/5/2010 9:31 AM, Bla ... wrote: > Using "css_tt" gem, I was able to create a tooltip. > However, my text (of the tooltip) has many "
". > > Here's my view: > > >

> <% @tooltip = "Whatever
> This is just an example
> I need many break lines
> Got it?" %> > <%= css_tt("Tooltip:", @tooltip, :title => "My title") %> >

> > > In my computer, the tooltip shows a cute text, WITH the break lines. > However, when I try to run the project in ANOTHER computer, instead of > break lines, i get the "
" that I've wrote.. > > Someone knows what can it be? I'm not a CSS/HTML expert, but are you testing with the same version of the same browser on both computers? If not, this may be explained by incompatible differences between the browsers in question. I wish I could posit a solution. Have you tried using \n instead of
? -Jeremy