Forum How do I...?

Abnormally large spacing with italic tag

profbrookes
I'm having a problem using the <i></i> tags - they are causing extra large spaces before and after the text.

The body font is set to 10pt arial unicode,arial,helvetica,sans-serif;

Is there a way round the problem to your knowledge?

SOLVED: Turned out to be a CSS problem - see post below.

One more thing - I have been writing SVG routines and had to use textPaths - I found that your latest release code ignores these but your latest Alpha code is fine. My question is, when is the next release due that incorporates the change?

Edited by profbrookes

mikeday
Can you attach a small sample HTML document that demonstrates the problem?

Prince 10 will support textPath, but you can use the latest builds today.
epanagio
From experience, I make sure that the html is error free.

Have you tried validating your code?

100% of the time it solves my issues. Oy!
profbrookes
I am glad to report that this has turned out to be a CSS problem! I found that the stylesheet (written by a colleague) contained the following definition:

.paraColumn * {
margin:10px;
}
Therefore it was applying that margin to the <i></i> tags within paragraphs.

Sorry for wasting time.