@namespace h "http://www.w3.org/1999/xhtml";
.StyleA { color: red; font-size: 2em; font-style: italic;
}
.StyleB { color: red; font-size: 2em; font-style: italic;
}
Is it normal that text that uses StyleA does not receive any formating, while with StyleB it does? (See sample epub)
That's probably a bug and/or unsupported for now.
Say you have a CSS file like this:
Code
@namespace h "http://www.w3.org/1999/xhtml";
.StyleA { color: red; font-size: 2em; font-style: italic;
}
.StyleB { color: red; font-size: 2em; font-style: italic;
}
Is it normal that text that uses StyleA does not receive any formating, while with StyleB it does? (See sample epub)
Report it in the Github so it can be fixed.
Say you have a CSS file like this:
Code
@namespace h "http://www.w3.org/1999/xhtml";
.StyleA { color: red; font-size: 2em; font-style: italic;
}
.StyleB { color: red; font-size: 2em; font-style: italic;
}
Is it normal that text that uses StyleA does not receive any formating, while with StyleB it does? (See sample epub)
Until this is fixed, the solution is to install the Quality Check plugin in Calibre and use it to search for @namespace and then in the Calibre editor, remove it.