SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot Macchiato's Avatar
    Join Date
    Nov 2009
    Posts
    151
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Use your site's font instead of Chrome and Safari's default font

    The default font of Chrome and Safari is Times New Roman. My site uses Verdana. Is there any way Chrome and Safari users only see Verdana on my site, instead of Times New Roman (or any other font they setup in Chrome or Safari)?

  2. #2
    SitePoint Wizard
    Join Date
    Jul 2003
    Location
    Kent
    Posts
    1,921
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    body {font:Verdana;}

    Can't see why if you've used Verdana it doesn't show as such. Unless they have a user stylesheet that they have set up to overrule yours (unlikely, most users don't play with such things).

    Times Roman is the default in Firefox and IE as well. If these users see Verdana, your styles are working okay.

  3. #3
    SitePoint Zealot Macchiato's Avatar
    Join Date
    Nov 2009
    Posts
    151
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I found the problem: @charset "utf-8"; wasn't on top of my stylesheet, this messed up my body style rule for Chrome and Safari
    I put it back on top of my stylesheet and now Verdana also shows up in Chrome and Safari


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •