[Mediawiki-l] how to get a non-breaking space between text and a graphic?

Boris Steipe boris.steipe at utoronto.ca
Wed Aug 6 22:33:50 UTC 2008


<span style="white-space: nowrap;">word <img ...></span>
seems to work for me (at least on the HTML level in FF 3.0)

B.

On 6-Aug-08, at 5:42 PM, Derrick Farnell wrote:

> Hi
>
> Placing a non-breaking space - &nbsp; - between text and a graphic  
> doesn't
> seem to work. That is, on this page:
>
> http://www.chainsofreason.org/wiki/Chain_32
>
> gradually reducing the width of the browser window eventually  
> causes the
> arrow graphic to jump down a line without taking with it the word  
> which
> comes before it, even though the space between them is a non- 
> breaking one
> (in the case of the first arrow on the page). The arrow doesn't  
> make sense
> unless it is preceded by at least the last word of the preceding  
> sentence.
>
> Does anyone know how to create a non-breaking space between text and a
> graphic?
>
> Derrick
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l




More information about the MediaWiki-l mailing list