View Single Post
Old 01-18-2022, 02:48 AM   #6
Snomad
Member
Snomad began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Oct 2021
Device: Onyx Book
Quote:
Originally Posted by retiredbiker View Post
OK just to give an example, for most images in old magazines (pulp fiction type thing) I use this simple scheme:

Code:
<p class="center">

<img alt="" src="Pictures/img-2.jpg" class="widepic"/>

</p>
Where in the css:

Code:
.center {
  text-align: center;
  text-indent: 0;
  margin: 0.5em 0 0.5em 0;
}
.widepic {
  height: auto;
  width: 98%;
}
And I sometimes use a .narrowpic class where width: 50% if there are small images.

If you want a full-page image put in, like an alternate cover, use the Insert Image tool with "Full page image" and "Preserve aspect ratio" checked -- that will get you a nice svg wrapper. Of course, alternate covers have to be in some file that is NOT marked as cover, as theducks said.
Okay, so I'm sure I've done this right.




I save the file and reopen it in the editor, everything is there. I close it and hit polish book, all the changes I've made, including to the stylesheet disappear.

Have I misunderstood the function of the polish book tool? It shouldn't be doing that right?
Snomad is offline   Reply With Quote