CSS problems: nowrap and vertical-align

Hi all:

I've noticed two problems concerning Amaya's CSS support. I have written
a text, which you can see at:

http://www.fc.up.pt/mp/jcsantos/cantor2.html

If you use Amaya to read it (or, probably, just to see it; it's not
written in in English :-) ), you'll notice right way that the
subscripts are located a lot below than where they should be. This
is so because I've decided to lower them a little bit and so I've
added

sub {vertical-align : -0.5ex }

to the corresponding CSS file. It works fine with both Mozilla and
Internet Explorer, but not with Amaya.

The CSS file also contains this line:

.math{font-family: Century, "Century Schoolbook", serif ; white-space : 
nowrap ; word-spacing: -0.07em}

So, whenever I type some text within a pair <span class="math"> ...
</span>  or a pair <div class="math"> ... </div>, no linebreaks should
occur at white spaces, but they do.

Best regards,

Jose Carlos Santos

Received on Tuesday, 7 September 2004 09:54:41 UTC