I am trying to style tex4ht output using CSS in order to make a Kindle book. For example, I want to change the verse environment using .verse { margin-left:2.5em; white-space:normal; }
The Kindle guidelines ask for a single CSS file. When I use \CssFile in my .cfg file, the CSS goes at the start of the .css file, and so it is overridden by the CSS generated by tex4ht. I can edit it manually to move my CSS to the end, but I would love to find a way to do this that has as few manual steps as possible.
Changing a tex4ht css class seems to ask the same question, but wound up with quite a different answer.
Sorry not to post an MWE, but willing to do so if necessary.
/* css.sty */at the end, skimming over its function in the documentation. Based on your response, I realized that I just needed to move the/* css.sty */to the beginning of my CSS. Sorry to take so much of your time! – Nat Kuhn Sep 20 '14 at 15:24