rdallasgray/roto — Issue #2: white-space:nowrap
Author: ometiclan
Created: 2011-10-12 22:04:40+00:00
State: open

I tried to use roto not just for images but for div's containing text. Since the text didn't wrap i looked into jquery.roto.js and found

// set required styles
container.css({ overflow: "hidden", position: "relative" });
ul.css({ position: "relative", whiteSpace: "nowrap", padding: 0, margin: 0 });

Is there a reason why » whiteSpace: "nowrap" « is set?
I changed it to "normal" so my text would wrap and did not encounter any problems yet.

(Actually
.mytextlistroto ul { white-space:normal !important;}
would also work.)