forgot password?


   
 
Font doesn’t diplay in Firefox? 
Posted: 19 April 2008 05:28 AM   [ Ignore ]  
Newbie
Rank
Total Posts:  1
Joined  2008-04-19

I’m also having an issue with fonts not displaying in Firefox; it displays fine in IE. I validated the css at http://jigsaw.w3.org/css-validator/ and cleaned up the few errors, but the text does not change with the p.class? I’m self trained, figured it out from the ‘net, and I couldn’t find any reference to a cross platform issue with fonts, so it must be something I’ve mistyped, yet wouldn’t ping the validator. The instructions that come in the p.body and the p.alt etc, should be read after the body, but I could be mistaken. any suggestions? what have I done wrong? TIA.

here’s the css:

body{
  font
-familyVerdanaGenevaArialhelveticasans-serif;

    
padding-top40px;
    
padding-bottom40px;
    
margin20px;
    
padding20px;
    
border-stylenone;
    
background-imageurl(http://www.zonezine.net/users/dossier/images/nnb-bg5.jpg);
    
background-color#C4CADE;
    
background-repeatno-repeat;
    
background-attachmentfixed;
    
/*<body background="../images/nnb-bg5.jpg" bgproperties="fixed" text="#000000" bgstyle="color: #C4CADE" link="#890E0E" vlink="#1544DF">*/
}
div
.body
{

 background
-color#FFFFFF;
 
padding10px;
 
text-alignleft;
 
border-stylenone;
}


p
.intro
{
    color
black;
    
padding5px;
}

p
.center
{
    text
-aligncenter;
    
colorblack;
    
}

p
.decoration
{
    text
-aligncenter;
    
colorblack;

}
p
.alt
{
    font
-family'Courier New'monospace;
    
text-alignleft;
    
colorblack;
}
p
.body
{
    font
-familyArialHelveticasans-serif;
    
colorblack;
    
margin-left5px;
}
p
.ibody
{
    color
black;
    
margin-left5px;
    
font-styleitalic;
}
p
.altibody
{
    font
-family'Courier New';
    
colorblack;
    
margin-left5px;
    
font-styleitalic;
}

#menu {
    
list-style-typenone;
    
margin-left0;
    
padding-left1em;
    
text-indent1em;
    
colorblack;
    
text-decorationnone;
}
hr {
background
-color#ccc;
border0;
height1px;
margin0;
}

h1 {font
-size1.4em;
font-familyVerdanaHelveticaArialsans-serif;
font-weightbold;
text-aligncenter;
text-transformcapitalize;
colorblack;
}

h2 {font
-size1.3em;
font-family"Arial";
font-weightbold;
text-aligncenter;
text-transformcapitalize;
colorblack;
}

h3 {font
-size1.3em;
font-family"Courier New";
font-weightbold;
text-aligncenter;
text-transformcapitalize;
colorblack;
}

h4 {font
-size1.1em;
font-familyVerdanaHelveticaArialsans-serif;
font-weightbold;
text-alignleft;
colorblack;
text-transformcapitalize;
}

h5 {font
-size1.3em;
font-familyVerdanaHelveticaArialsans-serif;
font-weightbold;
text-aligncenter;
colorblack;
}

a {

color
#890E0E;
text-decorationunderline;
/*visited: color: #1544DF;*/
/* link="#890E0E" vlink="#1544DF"*/
}

DIV
.base-layer {
    color
black;
      
margin0.5em 12px 0.5em 12pxpadding0text-alignleftwidthauto;
}

DIV
.table-row {
  color
black;
  
margin-top0margin-rightautomargin-bottom0margin-leftauto;
  
padding0text-aligncenterwidth96%;
}

/* Style rules for the 3 x 2 table example */

DIV.left-container2 {
  color
black;
  
borderthinfloatleftmargin0padding0width50%;
}

DIV
.right-container2 {
  color
black;
  
borderthinfloatrightmargin0padding0width50%;
}
DIV
.space-line {
  clear
bothmargin0padding0widthauto;
}

/*a:link {*/
/*    text-decoration: underline;    */
/*    visited: color: blue;*/
/*    hover: color: red;*/
/*    active: color: red;*/
/*}*/
/*background-image: url(http://nickzone.net/NickZone/images/dblue044.jpg);*/

Profile