I manage my collection of ebooks using Calibre (http://calibre-ebook.com/). This software allows me to edit epub & azw3 formats as CSS & HTML documents.
Upon running the Debugger, I am presented with a list of Errors & Warnings: (I've omitted most of the CSS file)
@namespace h "http://www.w3.org/1999/xhtml";
.calibre2 {
height: 422; <!-- ERROR: CSS: Property: Invalid value for "CSS Level 2.1"
property: 422 [91:5: height] [stylesheet.css] -->
width: 601; <!-- ERROR: CSS: Property: Invalid value for "CSS Level 2.1"
property: 601 [92:5: width] [stylesheet.css] -->
}
.western {
color: #000;
direction: ltr;
display: block;
font-family: "Times New Roman", serif;
font-size: 1em;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
margin-top: 0;
orphans: 2;
so-language: en-GB; <!-- WARNING: CSS: Property: Unknown Property name.
[109:5: so-language] [stylesheet.css] -->
text-align: center;
widows: 2;
}
The Height & Width errors are something I have not delved into much yet, assuming they could be linked to my reading device (Samsung Note).
Regarding the so-language error, I experimented with changing it to lang: en;
and :lang en;
, but both resulted in errors. I attempted to research "so-language" online, thinking it might have been replaced or deprecated, but found very limited information available on it.