errors
my css file is
@charset "UTF-8";
@namespace "http://www.w3.org/1999/xhtml";
@namespace epub "http://www.idpf.org/2007/ops";
@font-face{
font-family: 'QuicksandLight';
src: url('../fonts/FeENit2.ttf') format('truetype');
font-size:1.5em;
}
body {
font-family: 'QuicksandLight', Gothic, Helvetica, Arial;
background-color: rgb(240,240,240);
font-size: 1.5em;
line-height: 1.8em;
}
@font-face {
font-family:'QuicksandLight';
src: url('../fonts/FeENrm2.ttf');
font-style:italic;
font-size:20px;
}
h3
{
font-style:italic;
font-weight:normal;
}
}
.preamble::first-line
{
font-size:2em;
font-style:normal;
}
h2
{
font-style:italic;
font-weight:normal;
}
.we-the-people
{
color:#900;
font-style:italic;
font-weight:normal;
}
#signing
{
width:58%;
margin:0.5em auto 1em auto;
box-shadow:8px 8px 8px gray;
}
my package.opf is as follows
<manifest>
<item id="font1" href="fonts/FeENrm2.ttf" media-type="application/x-font-ttf"/>
<item id="font2" href="fonts/FeENit2.ttf" media-type="application/x-font-ttf"/>
but when validated i found 2 errors
ERROR: /Users/lrim3/Desktop/fazeela's projects/i did/epub3 font formatting-i did/epub2.epub/EPUB/css/style1.css: Font-face reference EPUB/fonts/FeENit2.ttfto non-standard font type application/x-font-ttf
ERROR: /Users/lrim3/Desktop/fazeela's projects/i did/epub3 font formatting-i did/epub2.epub/EPUB/css/style1.css: Font-face reference EPUB/fonts/FeENrm2.ttfto non-standard font type application/x-font-ttf
thank you
me too....
|