You are not logged in.
In my css, I've set 'font-family: sans;' in body { }, and in ff3 on my Arch laptop, it displays correctlly. In ie7 on my wifes vista laptop, it still reverts back to w/e serif font it uses if it can't find one set by the web page. I have no idea why this is happening, and I can't seem to fix it. Can anyone give me a hand?
Last edited by Sjoden (2009-01-04 03:07:09)
Offline
Agh, well, I looked at thayer's blog to see if that worked in both browsers and it did, so I checked to see how he had his fonts set up.
font-family: Arial, DejaVu Sans, sans-serif;
The closest I got to that was 'font-family: Arial, DejaVu, sans;'
Offline
Why not
font-family: Arial, DejaVu Sans, sans, sans-serif;
?
That way you still get a sans-serif font, even if they don't have sans installed.
Last edited by SamC (2009-01-04 03:52:59)
Offline
That DejaVu Sans there needs a pair of quotes around it (because it contains a space):
font-family: Arial, "DejaVu Sans", sans-serif;
Last edited by foutrelis (2009-01-04 04:13:05)
Offline