View Single Post
Old 11-16-2013, 06:42 PM   #1
MikeWV
Connoisseur
MikeWV began at the beginning.
 
Posts: 54
Karma: 10
Join Date: Nov 2013
Device: Kobo Touch
Plain Vanilla Stylesheet Prevents Validation

I have just one issue preventing validation of my ePub file: "non-standard stylesheet resource 'OEBPS/css/stylesheet.css' of type 'css'. A fallback must be specified."

I have a plain vanilla stylesheet created in Notepad++. I have not used any templates or proprietary software to create my XHTML files or my stylesheet. The only font specification in my stylesheet is font-family: normal;. Everything is very basic, as I wanted readers to be able to have as much control as their devices would allow.

It just doesn't make any sense to me that the idpf.org validator would take exception to my stylesheet and demand a fallback for an unspecified attribute. I get the error message above for every XHTML page in my ePub file. If the validator gave me a hint of what it wanted a fallback for it wouldn't be so frustrating.

I've attached a copy of the stylesheet as an XML file.

Thanks for your help.
Attached Files
File Type: xml stylesheet.xml (2.7 KB, 296 views)
MikeWV is offline   Reply With Quote