View Single Post
Old 05-09-2014, 05:09 AM   #17
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,560
Karma: 20150435
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by odedta View Post
He can use a CSS variable to keep the image and text proportions correct in any font size, though I am pretty sure it is not supported on all readers, any reader that supports HTML5 should support this feature.
I don't know what you mean, that's pretty basic CSS which should be supported by most readers (not HTML5):

Code:
.drop_image_Q {
  height: 5em;
  vertical-align: -0.7em;
}
(I mean the "height" part, assuming we have already determined that "vertical-align" works.)
Jellby is online now   Reply With Quote