Halloechen!

dwx wrote:

> Torsten Bronger wrote:
>>>img[src^="eqn-"] { white-space: nowrap; }
>> 
>> Unfortunately, this only applies to elements *within*
>> <img> but not to its borders.
> 
> Try the + and ~ selector <http://www.w3.org/TR/css3-selectors/>,
> e.g.:
>     * + img[src^="eqn-"],
>     * ~ img[src^="eqn-"] { white-space: nowrap; }
> 
> Mozilla might or might not support + and ~

Apparently it doesn't.  However, I don't know these advances 
features of CSS selectors very well, but I think that the
above CSS definitions and

<p>Auf der linken Seite kann man die
  <span style="white-space: nowrap"><img 
  alt="x" src="eqn-251.png">-Achse</span>
  sehen.</p>

are different.  E.g., I don't want to have the nowrap
applied to the complete preceding text node, only to 
the part that clings to the image without whitespace 
inbetween.

Tschoe,
Torsten.


Reply via email to