View Single Post
Old 11-16-2013, 07:54 PM   #2
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,827
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by MikeWV View Post
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.
I didn't see any bad in your stylesheet; but it must be named as "stylesheet.css" and not "stylesheet.xml". Change its name in Sigil and after that link all your xhtml files with that stylesheet. Do that and I think your troubles will be over.
RbnJrg is offline   Reply With Quote