I have an external style sheet containing this code:
<style type="text/css">
<!--
body
{
background-image: url('TKFbg2.jpg');
background-repeat: no-repeat;
background-attachment: scroll;
background-color: #003300;
margin-top: 0in;
margin-left:
}
table
{
padding-bottom: 0;
}
div.links
{
background-image: url('links.jpg');
background-repeat: no-repeat;
font-family: Blackadder ITC, @Batang, Fantasy;
font-size: 18pt;
color: #FFFFFF;
width: 140px;
margin-top: 0.5in;
padding-top: 0.1in;
padding-bottom: 0.1in;
text-align: center;
}
div.linksmall
{
font-size: 16pt;
}
a:link
{ color: #FFFFFF;
text-decoration: none;
font-family: Blackadder ITC, @Batang, Fantasy;
}
a:hover
{ color: #C0C0C0;
font-weight: bold;
text-decoration: none;
font-family: Blackadder ITC, @Batang, Fantasy;
}
a:visited
{ color: #C0C0C0;
text-decoration: none;
font-family: Blackadder ITC, @Batang, Fantasy;
}
div.home
{
margin-top: 0.5in;
padding-top: 0.1in;
padding-bottom: 0.1in;
padding-left: 0.5in;
width: 640px;
color: #FFFFFF;
}
div.content
{
background-image: url('knotbg.jpg');
background-repeat: no-repeat;
margin-top: 0.5in;
margin-left: 0.4in;
padding-top: 0.1in;
padding-bottom: 0.1in;
padding-left: 0.6in;
padding-right: 0.6in;
width: 640px;
color: #FFFFFF;
}
h3
{
font-family: Blackadder ITC, @Batang, Fantasy;
color: #FFFFFF;
font-size: 30pt;
}
-->
</style>
I am linking it within the head of the html doc like this:
<link rel="stylesheet" type="text/css" href="TKF.css">
Only bits of it actually work with Firefox (everything works with IE). The background images will only show up if the background css is put dirrectly into the head of the html doc. The links show up in bold, but not in the correct font, and the padding and margins work in some places but not others. I'm using <div class="etc"> to denote the various blocks, divisions, w/e. What part of this is not compatible with Firefox?? Many thanks in advance!!
Tags: