3 Replies Latest reply: Jan 31, 2013 11:51 AM by SnakEyez02 RSS

    Inserting a font from Google Fonts in page.

    Thongrrrl14 Community Member

      I made a web page that used a font in Google Fonts, but the font didn't show up when I uploaded the web page.

       

      I placed the required link immediately after the <head> tag. The code is listed below. Any help would be appreciated.

       

       

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

      <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/webtemplate.dwt" codeOutsideHTMLIsLocked="false" -->

      <head><link href='http://fonts.googleapis.com/css?family=Droid+Sans:400,700' rel='stylesheet' type='text/css'>

      <link rel="shortcut icon" type="image/x-icon" href="favicon.ico">

      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

      <!-- InstanceBeginEditable name="doctitle" -->

      <title>Title of Page</title>

      <!-- InstanceEndEditable -->

      <style type="text/css">

      .test-droid {

          font-family: 'Droid Sans', sans-serif;

          font-size: x-large;

          color: #000000;

      }

      body {

          background-image: url(images/back.jpg);

      }

      </style>