Quote:
Originally Posted by Kaylee Skylyn
I just wanted the span to identify a set of words that would have the smallcaps applied to them. Not necessarily to be the first line only (in some cases it was more sometimes less than the first line even in the original format.)
|
That's fine then (but possibly ugly). If you want smallcaps, you should add "font-size: 85%" or so to the span's style (or use "font-variant: smallcaps" and write lowercase letters, but this won't work in most devices).
But, with your code, the uppercase text is never more than the first line since, as JSWolf says:
Quote:
Originally Posted by JSWolf
a pre will cause text to flow past the margin instead of wrap.
|
Remove the "white-space: pre" (and the  
and it should be fine, barring bugs in a reader.