It may be that the FireFox Epub reader does not support that mark-up. Or perhaps, there are errors (even minor ones) in your css file. Some readers/browser engines can completely ignore the css if parser errors exist.
To test the latter, try creating an inline style attribute on the span tag and remove the class. Does the Firefox reader now show the background or does it just ignore that mark-up?
|