View Single Post
Old 10-08-2013, 11:31 PM   #26
st_albert
Guru
st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'
 
Posts: 698
Karma: 150000
Join Date: Feb 2010
Device: none
Quote:
Originally Posted by Psymon View Post
I presume you mean the "Validate Stylesheets with W3C" thing? Oddly, that does nothing at all when I click on it -- nothing happens, no report, doesn't take me anywhere, no dialog box or anything at all. However, the "Validate EPUB with FlightCrew" works just fine. :/
It's a mystery. However, you can do it manually. In sigil, go to your problematic .css file. Do a "select all", "copy".

Open the browser of choice, go to http://jigsaw.w3.org/css-validator/, and select your parameters. For font related issues I'd recommend CSS level 3, though in reality epubs need CSS level 2.1, which probably won't return anything useful for font declaration problems.

Proceed to copy your CSS into the "direct input" window and go from there.

YMMV, and all that.

But be advised if it passes CSS level 3, it still may not pass epbub CSS standards. If there's an error there (apart from font declaration related errors) readers like Adobe will ignore youir CSS and substitute their own.

Hoping this is not all that opaque, I remain

Albert
st_albert is offline   Reply With Quote