Regarding Stanza's treatment of styles, there is an approach that makes centering and other styles work.
First, under Settings/Layout be sure that Display Styles is "On". Without that, it pretty much ignores everything. But even with it on, Stanza still ignores an awful lot of style information, including centering.
However, if you really want something centered, you can get Stanza to do it by including the !important tag in your CSS. Thus, I use an entry like this:
.centered
{
text-align:center !important;
}
If you apply that to a paragraph, hr, etc., then Stanza will center it when Display Styles is on. You must include the !important tag on everything that you want to force Stanza to accept.
Now, !important is really supposed to be used to override what the user may try to do differently than what you intend, and that should be done rarely and with great caution. It would be a very bad idea to use it to force a particular font face or size, because a user with low vision might not be able to read your choices, and everyone else will likely be annoyed. But ordinary formatting, such as centering an hr shouldn't be an issue for anyone.
And now...
<rant>
In my opinion, this is unacceptable behavior on the part of Stanza. Being able to turn styles off is a very good feature, but they've made it impossible to truly turn styles on. If I, as the publisher, don't care about formatting, I'll just provide a txt file and be done with it. But if I do care about formatting, I shouldn't have to make special provisions for specific readers or reader software. We're back to the days of "this website will only display properly in [fill in browser name here]". I had hoped we all learned from that mess.
</rant>
|