View Single Post
Old 04-04-2015, 06:43 AM   #16
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,556
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by JLius View Post
When I use "width: 5em", the .gif is no longer centered.
I tried font-size: 1em instead, but that does not make the .gif rescale. Any other suggestions?
Show the code, please. "font-size: 1em" is a no-op, I don't know what you expect to get from that.

Quote:
Originally Posted by Notjohn View Post
Should I be adding max-width="100%" to my style sheet to prevent such over-runs?
It will only prevent it as long as the reader obeys the CSS (which is not only the case). You can also use an SVG wrapper for the cover, the code for which you can find elsewhere in the forum.
Jellby is offline   Reply With Quote