W3C home > Mailing lists > Public > www-amaya@w3.org > July to September 2004

CSS problems: nowrap and vertical-align

From: José Carlos Santos <jcsantos@fc.up.pt>
Date: Tue, 07 Sep 2004 10:54:01 +0100
Message-ID: <413D8539.1020401@fc.up.pt>
To: www-amaya@w3.org

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 20 September 2007 14:24:38 GMT