Thread: EPUB output
View Single Post
Old 04-09-2009, 12:39 PM   #453
llasram
Reticulator of Tharn
llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.
 
llasram's Avatar
 
Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
Quote:
Originally Posted by kovidgoyal View Post
Hmm so perhaps I was wrong, in any case calibre will resize images to the SONY screen size if you use the SONY profile in the future.

You can achieve that effect by using the css

img { width: 100% }

That should resize horizontally as long as the individual <img> tags dont specify a width.
I haven't tested how they work, but it might also be worth trying some combination of the 'width', 'min-width', and 'max-width' properties. If ADE and other renderers respect 'max-width' then could specify "width: 100%" and a 'max-width' of the actual image width in pixels.
llasram is offline   Reply With Quote