it wont pass epubcheck because it goes back to HTML validation in regards to duplicate ids
such as:
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>
<p id="d7e791985">A centered, red paragraph.</p>
</body>
</html>