Click to See Complete Forum and Search --> : Text wrapping.


Dragonkai
06-05-2008, 03:56 AM
When writing text, for example:

"djgsdfgdfkgdfigdfmgaiofgfmgdfog"

This text will not wrap around the <p> width boundary, instead it just keeps going on and on.

With "dsfgs/sdgsg/sgsdfg/sfg/"

It does wrap, but only in Opera 9 and FF3.

It doesn't work any other browser as of my knowledge currently.

Any solutions in css?

WebJoel
06-05-2008, 08:00 AM
YouNeedSomeWhiteSpaceBecauseCorrectBehaviourIsToNotBreakUn-BrokenLinesOfTextThatThe"Slash"characterLine-BreaksIsProbablyAParserAnomolyAndCannotBeCountedUpon.......
(edited to remove annoying horiz.scroll on entire page) :)
Try some 'whitespaces' in your text...

Centauri
06-05-2008, 10:27 AM
Trust a moderator to do that to the forum display ! :D

KDLA
06-05-2008, 11:03 AM
Joel -
After reading your post, all of a sudden that song "Supercalifragilisticexpialidocious" popped in my head :p !!

Major Payne
06-06-2008, 01:44 AM
@Ms. KDLA:

Darn, I can't believe you got that spelled correctly. :p I had a hard time reading it correctly. :o

Ron

WebJoel
06-08-2008, 09:33 AM
There. :D -Edited to eliminate the horiz.scroll. Firefox would correctly allow non-breaking text to protrude through the side of the container, IE incorrectly would just expand the container. This forum annoyingly just expands, expands & expands. :D
-I think my silly point was taken? :)

Not sure about OP's claim that "/" allows for non-breaking text to 'wrap' p in some versions of some browsers. I didn't test this on the stated browsers.
-Perhaps the html-parser of stated browsers recognizes the forward-slash as a delimiter and 'guesses' that it is the 'end' of something, like in "<br />" "ends" the "br" correctly for validation.