I have a problem with the default.css stylesheet not being applied to .chm output.
Everything works OK in Author/Contents (also in Preview). All styles are recognized and applied.
I also have a Master Page with its own stylesheet (book.css). This also works fine.
When I look into the Source, the reference to default.css is there.
The problem is with the generated .chm file. Styles are not applied anywhere, at least not those from default.css. Master Page is still working and displaying its own styles (book.css).
When I check the individual .htm files from the unzipped .chm the references to default.css are gone and the only stylesheet references are to _rhdefault.css and book.css.
I don't see any errors in Output Generation Log. I checked default.css for errors, but couldn't find any.
I suspect you only have book.css applied. Apply default.css as well. Make that the first CSS with book.css below and I think it will then work.
To expand on what Peter says, I believe the master page stylesheet will override any stylesheet applied to the individual topics. If you want multiple stylesheets, make sure all are applied to the master page.
Thanks Peter and Amebr,
I'm afraid it was simply a RH glitch. I copied and pasted all code to a blank project and it works fine again (.chm generates with all style sheets).
I was experimenting with custom html, css and js and sometimes RH gets confused (me too;)