Welcome to MR!
Some software, like Adobe Digital Editions will completely discard the css file if there is a single error on it. This is NOT what they are supposed to do… they are supposed to degrade elegantly and, at worst, ignore just the actual error.
I would run your stylesheet through a css checker… there is one built-in to Sigil that uses the online version, or you can install the plug-in and use it offline.
|