Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CSS font-family displays differently on Windows and Mac OS X

For some reason, the following two code snippets display correctly on Mac OS X but are completely ignored on a Windows i.e. the font reverts to Times New Roman with default sizes and margins. Any idea why this could be?

body {
    font-family: "Helvetica Neue", "Lucida Grande", "Sans serif";
}

#div h1, p {
    margin: 0px;
    font-size: 14px;
    color: #333;
}
like image 887
Sebastian Avatar asked Jan 25 '26 07:01

Sebastian


1 Answers

It's sans-serif with a dash. The first two fonts are probably not installed on the Windows PC (I don't have them).

like image 170
scottheckel Avatar answered Jan 26 '26 21:01

scottheckel