Welcome to WebmasterWorld Guest from 18.104.22.168 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Become a Pro Member
why does firefox wrap on non breaking spaces? ashman msg:1589538 1:37 pm on Jun 26, 2005 (gmt 0) I have the following HTML output, note the   between the link and the image:
I have always understood nbsp to stand for non-breaking-space. Correct?
So why would firefox 1.0.4 render the image below the text? I don't care that the column width may not be wide enough to fit the image - it should still adhere to my instruction to place the image on the same line! Surely?
Can anyone shed some light on this?
rocknbil msg:1589539 5:22 pm on Jun 26, 2005 (gmt 0)
It is confusing. does indeed mean non-breaking space, but that's not what it does. As you know browsers collapse white space, a dozen white spaces equals one in display. But forces whitespaces, so forces three white spaces.
treeline msg:1589540 10:20 pm on Jun 27, 2005 (gmt 0)
Non-breaking space translates as non-collapsing space. It does not mean no-line-return-now space.
Since the nbsp won't shrink, and the image plus the nbsp doesn't fit side-by-side in the column you are forcing them onto seperate lines.
Don't confuse line-break with space-break!
ashman msg:1589541 12:10 am on Jun 28, 2005 (gmt 0)
Thanks for the clarification. I was used to the way IE handled it, and assumed that was the correct way :( CritterNYC msg:1589542 2:29 pm on Jun 28, 2005 (gmt 0)
Thanks for the clarification. I was used to the way IE handled it, and assumed that was the correct way :(
With differences, it is usually safe to assume that IE is handling it the incorrect way. ;)