View Single Post
Old 04-15-2022, 08:28 PM   #10
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 47,160
Karma: 169815798
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by slowsmile View Post
...And I would write the image code this way in the html:

Code:
<div align="right" class="container">
    <img class="imgsize" src="../Images/image.jpg" alt="Image01"/>
</div>
In the above example, I'm just using the <div> tags as a properly sized image container(at 10% of the current screen width) with the image inside it at 100% container width. The <div> container is also aligned to the right.
And the above example will trigger an error on most epub error checkers. 'align="right"' is just bad code.

Last edited by DNSB; 04-15-2022 at 08:47 PM.
DNSB is offline   Reply With Quote