A new cover.css has been added but it isn't used by the epub.
The line for the cover is:
<link href="../Styles/style.css" rel="stylesheet" type="text/css" />
I think it should be:
<link href="../Styles/cover.css" rel="stylesheet" type="text/css" />
(validation is correct after I make this change)
Small epub validation problem
Atlantis never generates the following CSS code:
Maybe you "tweaked" the EPUB file with another utility?
Code: Select all
<link href="../Styles/style.css" rel="stylesheet" type="text/css" />
I'm using beta b4. Then I don't know. All epubs I make with the last version give this error in the validation with Sigil. The cover.css wasn't present before in epubs generated by Atlantis. With other betas I neither had validation errors or the cover.css file.admin wrote:Atlantis never generates the following CSS code:
Maybe you "tweaked" the EPUB file with another utility?Code: Select all
<link href="../Styles/style.css" rel="stylesheet" type="text/css" />
Does Sigil just check for errors, or modifies EPUBs before checking?
It looks that you are trying to validate a "heavily tweaked" EPUB file originally generated by Atlantis. Atlantis never creates the "Styles" folder within EPUB packages, and never generates the code mentioned in your first post.
By the way, there is no point in validating EPUBs generated by Atlantis. They are always valid EPUB files.
In any case, you can use the standard validator from IDPF:
http://validator.idpf.org/
It looks that you are trying to validate a "heavily tweaked" EPUB file originally generated by Atlantis. Atlantis never creates the "Styles" folder within EPUB packages, and never generates the code mentioned in your first post.
By the way, there is no point in validating EPUBs generated by Atlantis. They are always valid EPUB files.
In any case, you can use the standard validator from IDPF:
http://validator.idpf.org/
Yes, the latest beta version of Atlantis does generate two CSS files if you have a cover image in your eBook (this change was required in order to make the new "page margins" feature of the "Save as eBook" command work correctly). But the problem is not with the cover.css file. The problem is that what you are trying to "validate" is not a file generated by Atlantis.The cover.css wasn't present before in epubs generated by Atlantis.
By the way, if you need to make minor changes to individual files from the EPUB package without affecting other files (and possibly ruining the entire EPUB package), you can use the free tweak_epub utility.