Quote:
Originally Posted by theducks
id is not class
I would not expect to see that value in the CSS.
|
Me neither, but it's perfectly acceptable. For example the following code:
Code:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<style type="text/css">
#d7e791985 {
text-align: center;
color: red;
}
</style>
</head>
<body>
<p id="d7e791985">A centered, red paragraph.</p>
</body>
</html>
displays fine in Sigil and ADE, passes epubcheck and compiles OK with KindleGen.
However, since the original epub creator didn't use these particular ids to assign a style and apparently doesn't reference them anywhere else, it looks more like a global search and replace action gone awry.