Thread: Images!
View Single Post
Old 07-04-2011, 03:33 PM   #8
shall1028
Zealot
shall1028 is slicker than a case of WD-40shall1028 is slicker than a case of WD-40shall1028 is slicker than a case of WD-40shall1028 is slicker than a case of WD-40shall1028 is slicker than a case of WD-40shall1028 is slicker than a case of WD-40shall1028 is slicker than a case of WD-40shall1028 is slicker than a case of WD-40shall1028 is slicker than a case of WD-40shall1028 is slicker than a case of WD-40shall1028 is slicker than a case of WD-40
 
shall1028's Avatar
 
Posts: 146
Karma: 73978
Join Date: Jun 2010
Device: Kobo
There are posts elsewhere discussing vertical centering and they all come back to HTML considering a page infinitely high and therefore having no identifiable center. Kind of reminds me of the question: "How long is a piece of string?"

The SVG solution I posted does work for images (at least on my Kobo) although if the image is smaller than the screen it will scale it up the way the code stands.

I agree with stripping out uneeded classes and divs. Calibre should just use <p> for your basic paragraph but it seems to always want to use <p class="calibre3"> or some such nonsense. If every paragraph is class=calibre3 then it is redundant. Grump. Grump. Grump...
shall1028 is offline   Reply With Quote