|  05-09-2014, 04:44 AM | #16 | 
| Addict            Posts: 398 Karma: 96448 Join Date: Dec 2013 Device: iPad | 
			
			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.
		 Last edited by odedta; 05-09-2014 at 04:46 AM. | 
|   |   | 
|  05-09-2014, 05:09 AM | #17 | |
| frumious Bandersnatch            Posts: 7,570 Karma: 20150435 Join Date: Jan 2008 Location: Spaniard in Sweden Device: Cybook Orizon, Kobo Aura | Quote: 
 Code: .drop_image_Q {
  height: 5em;
  vertical-align: -0.7em;
} | |
|   |   | 
|  05-09-2014, 05:11 AM | #18 | 
| eBook Enthusiast            Posts: 85,560 Karma: 93980341 Join Date: Nov 2006 Location: UK Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6 | 
			
			I think the previous poster was referring to changing the size of the "alt" text (apologies if I've misunderstood). It's probably not an issue, given that there's really no circumstance in which the "alt" text would be displayed on a reading device.
		 | 
|   |   | 
|  05-09-2014, 05:39 AM | #19 | |
| Addict            Posts: 398 Karma: 96448 Join Date: Dec 2013 Device: iPad | 
			
			@Harry: I was referring to Jellby's post: Quote: 
 I don't see any reason why a reader wouldn't be able to pull the image if your file has no errors either. @Jellby, your CSS seems fine but I havn't checked it, in any case, my proposal was to use a variable were, for instance. x = 10pt and then set the font-size to x and image height to x * 2 for example, that way, the proportions should preserve. | |
|   |   | 
|  | 
| Thread Tools | Search this Thread | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Joining image and title | roger64 | ePub | 11 | 12-03-2012 11:27 AM | 
| Centered but left align? | mtrahan | ePub | 15 | 04-01-2012 03:56 PM | 
| need help on how to align a table to the right | NASCARaddicted | ePub | 6 | 02-18-2011 01:46 PM | 
| I can not align the text...help please! XD | derfel_spain | ePub | 17 | 12-18-2010 09:45 AM | 
| Justify align in RTF? | griffbrad | Sony Reader | 6 | 11-27-2006 03:25 PM |