Long strings not wrapping

Long strings not wrapping

Postby miklosb » Fri Feb 25, 2011 1:30 pm

Long string with no white space not wrapping in screen.
Long strings are just clipped.
Example defined string:
iloveitwhenyougodownstairstogetmeabeer
seen in ipod touch portrait mode
iloveitwhenyougodown
Test deck located at
http://dl.dropbox.com/u/14789056/test3
miklosb
 
Posts: 10
Joined: Thu Nov 25, 2010 11:52 am

Re: Long strings not wrapping

Postby miklosb » Fri Feb 25, 2011 1:31 pm

slide 2 of card 1 has the clipped string
miklosb
 
Posts: 10
Joined: Thu Nov 25, 2010 11:52 am

Re: Long strings not wrapping

Postby Ernie » Fri Feb 25, 2011 1:42 pm

Yeah, this is just the way Apple's web browser works. You'll just need to handle this manually for long items. Try using the <wbr> tag... put it where it's ok for a line break. This is a hint to the web view; it will wrap there only if it needs to.
Ernie
Site Admin
 
Posts: 5013
Joined: Fri Oct 01, 2010 6:12 pm
Location: San Francisco / Taiwan

Return to Comments, Questions and Feedback