Sigvatr
10-07-2009, 09:28 PM
I've been trying to get an embedded font to work on my site for several hours now and I have no idea what is wrong.
The site is http://www.sigvatr.com
It actually works perfectly in Internet Explorer as far as I am aware, but in Firefox it just goes crazy.
Anyone have any ideas what might be wrong?
Here's the CSS:
@font-face
{
font-family: 'Perfect DOS VGA 437';
src: url('http://www.sigvatr.com/dosfont.eot');
}
@font-face
{
font-family: 'Perfect DOS VGA 437';
src: url('http://www.sigvatr.com/dosfont.ttf');
}
body
{
background-color: #545454;
background-image: url('http://www.sigvatr.com/background.png');
background-attachment: fixed;
margin-top: 0px;
margin-left: 0px;
margin-bottom: 0px;
margin-right: 0px;
}
p
{
margin-top: 0px;
margin-bottom: 32px;
}
.scanlines
{
filter: alpha(opacity=85);
opacity: 0.85;
}
.text
{
color: #a80000;
background-color: #000000;
font-family: 'Perfect DOS VGA 437';
font-size: 24pt;
font-weight: normal;
text-align: left;
text-decoration: none;
line-height: 1;
}
.text a
{
color: #000000;
background-color: #a80000;
text-decoration: none;
}
.text a:hover
{
color: #a80000;
background-color: #fc5454;
text-decoration: none;
}
.text a:active
{
color: #a80000;
background-color: #fc5454;
text-decoration: none;
}
.border
{
color: #545454;
background-color: #a8a8a8;
}
.header
{
color: #545454;
background-color: #a8a8a8;
font-family: 'Perfect DOS VGA 437';
font-size: 24pt;
font-weight: normal;
text-align: left;
text-decoration: none;
line-height: 1;
}
.header a
{
color: #545454;
background-color: #a8a8a8;
text-decoration: none;
}
.header a:hover
{
color: #000000;
background-color: #545454;
text-decoration: none;
}
.header a:active
{
color: #000000;
background-color: #545454;
text-decoration: none;
}
.name
{
color: #545454;
background-color: #a8a8a8;
font-family: 'Perfect DOS VGA 437';
font-size: 24pt;
font-weight: normal;
text-align: left;
text-decoration: none;
line-height: 1;
}
.name a
{
color: #545454;
background-color: #a8a8a8;
text-decoration: none;
}
.name a:hover
{
color: #000000;
background-color: #545454;
text-decoration: none;
}
.name a:active
{
color: #000000;
background-color: #545454;
text-decoration: none;
}
.shadow
{
color: #545454;
background-color: #000000;
}
.button
{
color: #a80000;
background-color: #000000;
font-family: 'Perfect DOS VGA 437';
font-size: 24pt;
font-weight: normal;
text-align: left;
text-decoration: none;
line-height: 1;
}
.button a
{
color: #a80000;
background-color: #000000;
text-decoration: none;
}
.button a:hover
{
color: #fc5454;
background-color: #a80000;
text-decoration: none;
}
.button a:active
{
color: #fc5454;
background-color: #a80000;
text-decoration: none;
}
.comments
{
color: #a80000;
font-family: 'Perfect DOS VGA 437';
font-size: 24pt;
font-weight: normal;
text-align: right;
text-decoration: none;
}
.comments a
{
color: #a80000;
background-color: #000000;
text-decoration: none;
}
.comments a:hover
{
color: #fc5454;
background-color: #a80000;
text-decoration: none;
}
.comments a:active
{
color: #fc5454;
background-color: #a80000;
text-decoration: none;
}
.copyright
{
color: #000000;
background-color: #545454;
font-family: 'Perfect DOS VGA 437';
font-size: 24pt;
font-weight: normal;
text-align: center;
text-decoration: none;
line-height: 1;
}
.copyright a
{
color: #000000;
text-decoration: none;
}
.copyright a:hover
{
color: #545454;
background-color: #000000;
text-decoration: none;
}
.copyright a:active
{
color: #545454;
background-color: #000000;
text-decoration: none;
}
.imageright
{
float: right;
position: relative;
margin-bottom: 18px;
display: block;
}
.imageleft
{
float: left;
position: relative;
margin-bottom: 18px;
display: block;
}
.input
{
color: #fc5454;
background-color: #a80000;
background-image: url('input_background.png');
font-family: 'Perfect DOS VGA 437';
font-size: 24pt;
font-weight: normal;
text-align: left;
text-decoration: none;
line-height: 1;
border-style: solid;
border-left-width: 17px;
border-right-width: 0px;
border-color: #000000;
margin-top: -6px;
padding: 0px;
}
.form
{
color: #fc5454;
background-color: #a80000;
background-image: url('form_background.png');
font-family: 'Perfect DOS VGA 437';
font-size: 24pt;
font-weight: normal;
text-align: left;
text-decoration: none;
line-height: 1;
border-style: solid;
border-left-width: 17px;
border-right-width: 0px;
border-color: #000000;
margin-top: -2px;
padding: 0px;
}
.submit
{
color: #545454;
background-color: #a8a8a8;
font-family: 'Perfect DOS VGA 437';
font-size: 24pt;
font-weight: normal;
text-align: left;
text-decoration: none;
line-height: 1;
border-style: solid;
border-top-width: 28px;
border-bottom-width: 28px;
border-left-width: 15px;
border-right-width: 15px;
border-color: #a8a8a8;
padding: 0px;
}
.archives
{
color: #a80000;
background-color: #000000;
font-family: 'Perfect DOS VGA 437';
font-size: 24pt;
font-weight: normal;
text-align: left;
text-decoration: none;
line-height: 1;
}
.archives a
{
color: #a80000;
background-color: #000000;
text-decoration: none;
}
.archives a:hover
{
color: #fc5454;
background-color: #a80000;
text-decoration: none;
}
.archives a:active
{
color: #fc5454;
background-color: #a80000;
text-decoration: none;
}
The site is http://www.sigvatr.com
It actually works perfectly in Internet Explorer as far as I am aware, but in Firefox it just goes crazy.
Anyone have any ideas what might be wrong?
Here's the CSS:
@font-face
{
font-family: 'Perfect DOS VGA 437';
src: url('http://www.sigvatr.com/dosfont.eot');
}
@font-face
{
font-family: 'Perfect DOS VGA 437';
src: url('http://www.sigvatr.com/dosfont.ttf');
}
body
{
background-color: #545454;
background-image: url('http://www.sigvatr.com/background.png');
background-attachment: fixed;
margin-top: 0px;
margin-left: 0px;
margin-bottom: 0px;
margin-right: 0px;
}
p
{
margin-top: 0px;
margin-bottom: 32px;
}
.scanlines
{
filter: alpha(opacity=85);
opacity: 0.85;
}
.text
{
color: #a80000;
background-color: #000000;
font-family: 'Perfect DOS VGA 437';
font-size: 24pt;
font-weight: normal;
text-align: left;
text-decoration: none;
line-height: 1;
}
.text a
{
color: #000000;
background-color: #a80000;
text-decoration: none;
}
.text a:hover
{
color: #a80000;
background-color: #fc5454;
text-decoration: none;
}
.text a:active
{
color: #a80000;
background-color: #fc5454;
text-decoration: none;
}
.border
{
color: #545454;
background-color: #a8a8a8;
}
.header
{
color: #545454;
background-color: #a8a8a8;
font-family: 'Perfect DOS VGA 437';
font-size: 24pt;
font-weight: normal;
text-align: left;
text-decoration: none;
line-height: 1;
}
.header a
{
color: #545454;
background-color: #a8a8a8;
text-decoration: none;
}
.header a:hover
{
color: #000000;
background-color: #545454;
text-decoration: none;
}
.header a:active
{
color: #000000;
background-color: #545454;
text-decoration: none;
}
.name
{
color: #545454;
background-color: #a8a8a8;
font-family: 'Perfect DOS VGA 437';
font-size: 24pt;
font-weight: normal;
text-align: left;
text-decoration: none;
line-height: 1;
}
.name a
{
color: #545454;
background-color: #a8a8a8;
text-decoration: none;
}
.name a:hover
{
color: #000000;
background-color: #545454;
text-decoration: none;
}
.name a:active
{
color: #000000;
background-color: #545454;
text-decoration: none;
}
.shadow
{
color: #545454;
background-color: #000000;
}
.button
{
color: #a80000;
background-color: #000000;
font-family: 'Perfect DOS VGA 437';
font-size: 24pt;
font-weight: normal;
text-align: left;
text-decoration: none;
line-height: 1;
}
.button a
{
color: #a80000;
background-color: #000000;
text-decoration: none;
}
.button a:hover
{
color: #fc5454;
background-color: #a80000;
text-decoration: none;
}
.button a:active
{
color: #fc5454;
background-color: #a80000;
text-decoration: none;
}
.comments
{
color: #a80000;
font-family: 'Perfect DOS VGA 437';
font-size: 24pt;
font-weight: normal;
text-align: right;
text-decoration: none;
}
.comments a
{
color: #a80000;
background-color: #000000;
text-decoration: none;
}
.comments a:hover
{
color: #fc5454;
background-color: #a80000;
text-decoration: none;
}
.comments a:active
{
color: #fc5454;
background-color: #a80000;
text-decoration: none;
}
.copyright
{
color: #000000;
background-color: #545454;
font-family: 'Perfect DOS VGA 437';
font-size: 24pt;
font-weight: normal;
text-align: center;
text-decoration: none;
line-height: 1;
}
.copyright a
{
color: #000000;
text-decoration: none;
}
.copyright a:hover
{
color: #545454;
background-color: #000000;
text-decoration: none;
}
.copyright a:active
{
color: #545454;
background-color: #000000;
text-decoration: none;
}
.imageright
{
float: right;
position: relative;
margin-bottom: 18px;
display: block;
}
.imageleft
{
float: left;
position: relative;
margin-bottom: 18px;
display: block;
}
.input
{
color: #fc5454;
background-color: #a80000;
background-image: url('input_background.png');
font-family: 'Perfect DOS VGA 437';
font-size: 24pt;
font-weight: normal;
text-align: left;
text-decoration: none;
line-height: 1;
border-style: solid;
border-left-width: 17px;
border-right-width: 0px;
border-color: #000000;
margin-top: -6px;
padding: 0px;
}
.form
{
color: #fc5454;
background-color: #a80000;
background-image: url('form_background.png');
font-family: 'Perfect DOS VGA 437';
font-size: 24pt;
font-weight: normal;
text-align: left;
text-decoration: none;
line-height: 1;
border-style: solid;
border-left-width: 17px;
border-right-width: 0px;
border-color: #000000;
margin-top: -2px;
padding: 0px;
}
.submit
{
color: #545454;
background-color: #a8a8a8;
font-family: 'Perfect DOS VGA 437';
font-size: 24pt;
font-weight: normal;
text-align: left;
text-decoration: none;
line-height: 1;
border-style: solid;
border-top-width: 28px;
border-bottom-width: 28px;
border-left-width: 15px;
border-right-width: 15px;
border-color: #a8a8a8;
padding: 0px;
}
.archives
{
color: #a80000;
background-color: #000000;
font-family: 'Perfect DOS VGA 437';
font-size: 24pt;
font-weight: normal;
text-align: left;
text-decoration: none;
line-height: 1;
}
.archives a
{
color: #a80000;
background-color: #000000;
text-decoration: none;
}
.archives a:hover
{
color: #fc5454;
background-color: #a80000;
text-decoration: none;
}
.archives a:active
{
color: #fc5454;
background-color: #a80000;
text-decoration: none;
}