Originally Posted by Toxaris
For centering an image you could use somethin like:
<p><div align="center"><img ..../></div></p>
<p class="center"><img .../></p>
For the latter of course you have to enter the class center in your CSS stylesheet. Since Sigil changes a lot between version, I wouldn't be surprised that the sgc-1 doesn't work anymore. But Valloric could confirm if this is the case.
You're second point can be a problem of a too large image or hard-defined page-breaks. I do not know how stanza works, but you could try to fiddle with CSS elements like 'page-break-before: never' or alike.
SGC-x are not standardized assignments
and don't exist on the page until you press one of the styling buttons.
And THEN, it only exists for the PAGE that it was used upon at that time.
If you make some othe styling (combination) on a different Page before you use the "center text" style, that will get assigned SGC-1
SGC styles are added to the Page <head> section, not the stylesheet.
I found this out, because I styled the chapter headings on one page , and use S & R regex to change all the other "Chapter headings to habve the same 'code'. Only, none of the other pages worked, even though the Code was correct.
Turns out: SGC codes are not Global.