Safari wrapping too early

Posted by the Hampster on Stack Overflow See other posts from Stack Overflow or by the Hampster
Published on 2010-04-07T04:59:37Z Indexed on 2010/04/07 5:03 UTC
Read the original article Hit count: 430

Filed under:
|
|

I've created a class web page with a page for midterm review. It uses jsMath to turn Tex into nice math. (MathML looks awful) Anyway, I would occasionally like to have several problems per line. Each problem is in its own <span>, so if it needs to wrap, it won't split the problem.

It all seems to work, except that Safari for the Mac seems overly anxious to wrap, sometimes wrapping at 30% paragraph width. Even under inspection, it reports a width of 663px, but wrapping occurs at around 150px. There is no padding.

Firefox renders just fine. A comparison is here: http://davehampson.net/Images/Safaribug.png Sometimes Safari works just fine.

The original web page is here: http://math.davehampson.net/index3.php (study guide 2)

I don't know if this is a bug in safari, or if there is some odd/subtle css point I am missing. Any help would be appreciated.

--Dave

© Stack Overflow or respective owner

Related posts about css

Related posts about safari