Forum Moderators: not2easy
h1 {
font-family: Arial;
font-size: 1.4em;
font-weight: bold;
margin:0;
padding:0;
}
Also you should always include a generic font (such as serif or sans-serif) and you can combine the different font properties to save space. so it should look like this..
h1 {
font: bold 1.4em Arial, sans-serif;
margin:0;
padding:0;
}
The fonts are applied in order so if you code...
font: bold Arial, Helvetica, sans-serif;
Since you can't control what font sans-serif is actually mapped to I tend to use it as the last option after my preferred fonts.