View Single Post
Old 12-12-2014, 09:04 PM   #15
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by JSWolf View Post
<small>SOME TEXT</small> will display at a smaller size even if the .7em you've defined doesn't work.

Try the following and see if it works...

CSS

Code:
.small {
font-size: .7em;
}
XML

Code:
<p>Some text. <span class="small">SOME MORE TEXT</span>. Even more text.</p>
I have a feeling it won't work.
I use code similar to this all the time. It does work. Are you sure you've actually tried it?

BTW I think murg may have meant he uses the <small>...</small> tags rather than the <span class="small">...</span> tags. But both should work exactly the same on the Kobo if the css is
Code:
small, .small {font-size: 0.7em}
jackie_w is offline   Reply With Quote