View Single Post
Old 01-06-2013, 07:20 PM   #5
mont555
Junior Member
mont555 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jan 2013
Device: ADE in my computer
Thank you all for your quick reply,

Below are some of the errors, all of them are in the OEBPS/Text/ .html

element 'font' is not allowed for content model '(a|br|span|bdo|map|object|img|svg|tt|i|b|big|smal l|em|strong|dfn|code|q|samp|kbd|var|cite|abbr|acro nym|sub|sup|input|select|textarea|label|button|ins |del|script)'

Code:
<h1 align="center" id="sigil_toc_id_35" style="margin-right: 1.26cm; margin-bottom: 2cm;"
element 'font' is not allowed for content model '(a|br|span|bdo|map|object|img|svg|tt|i|b|big|smal l|em|strong|dfn|code|q|samp|kbd|var|cite|abbr|acro nym|sub|sup|input|select|textarea|label|button|ins |del|script)'

Code:
  -->
element 'font' is not allowed for content model '(a|br|span|bdo|map|object|img|svg|tt|i|b|big|smal l|em|strong|dfn|code|q|samp|kbd|var|cite|abbr|acro nym|sub|sup|input|select|textarea|label|button|ins |del|script)'

Code:
 <p class="first"><span style="font-size: large;">This is to certify that this digital book
element 'font' is not allowed for content model '(a|br|span|bdo|map|object|img|svg|tt|i|b|big|smal l|em|strong|dfn|code|q|samp|kbd|var|cite|abbr|acro nym|sub|sup|input|select|textarea|label|button|ins |del|script)'

Code:
<p align="center" style="margin-right: 1.26cm; margin-bottom: 0cm"><font face="Verdana,
element 'font' is not allowed for content model '(a|br|span|bdo|map|object|img|svg|tt|i|b|big|smal l|em|strong|dfn|code|q|samp|kbd|var|cite|abbr|acro nym|sub|sup|input|select|textarea|label|button|ins |del|script)'

Code:
<p style="margin-right: 1.26cm; margin-bottom: 0cm"><font face="Verdana, sans-serif"><br /></font></p>

element 'font' is not allowed for content model '(a|br|span|bdo|map|object|img|svg|tt|i|b|big|smal l|em|strong|dfn|code|q|samp|kbd|var|cite|abbr|acro nym|sub|sup|input|select|textarea|label|button|ins |del|script)'

Code:
<p align="center" style="margin-bottom: 0cm"><font size="6">Treatise on</font></p>
element 'font' is not allowed for content model '(a|br|span|bdo|map|object|img|svg|tt|i|b|big|smal l|em|strong|dfn|code|q|samp|kbd|var|cite|abbr|acro nym|sub|sup|input|select|textarea|label|button|ins |del|script)'

Code:
<p style="margin-bottom: 0cm"><a href="../Text/Ch001.html"><font size="4">1.&nbsp;The Level
attribute 'align' is not declared for element 'h1'

Code:
<body style="border-style: none; padding: 0cm; direction: ltr;" xml:lang="en-GB"
attribute 'face' is not declared for element 'font'

Code:
<p style="margin-bottom: 0cm"><span style="font-size: large;">The legend
no declaration found for element 'font'

Code:
<p style="margin-bottom: 0cm"><span style="font-size: large;">
attribute 'align' is not declared for element 'p'

Code:
-->
attribute 'align' is not declared for element 'h2'

Code:
<body dir="ltr" style="border-top-style: none; border-right-style: none; border-bottom-style:
I add the css style just in case it might help:

Code:
body { 
margin-left : 4%; 
margin-right : 4%; 
margin-top : 4%; 
margin-bottom : 4%; 
} 
p { 
margin-top : 10px; 
margin-bottom : 20px; 
text-indent : 15px; 
} 
p.first { 
text-indent : 0em; 
}
a { 
text-decoration : none; 
} 
h1 {
text-align: center;
}
The code came from the html generated from OpenOffice.org and I did some minor tweaks, and I did not dare to touch much just in case I made matters worse. I need to have this sort it out by tomorrow, I hope it has an easy solution.
mont555 is offline   Reply With Quote