Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. The desired font is not viewing on the webpage.

The desired font is not viewing on the webpage.

Scheduled Pinned Locked Moved Web Development
cssquestion
7 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Razanust
    wrote on last edited by
    #1

    At first i made the webpage in MS FrontPage 2003 and kept the font Calibri for the whole site. That used to appear on the web on every PC which had this font. But the PCs lacking this font would not display the text in Calibri but to any default settings text. Whats the solution to it? Secondly now I am making a site on Dreamweaver CS3 using CSS. I have set the font calibri in the style sheet and it is appearing to me when i view the site in my browser but when i upload the site on the web the desired font doesn't appears? Any Solutions?

    D B J 3 Replies Last reply
    0
    • R Razanust

      At first i made the webpage in MS FrontPage 2003 and kept the font Calibri for the whole site. That used to appear on the web on every PC which had this font. But the PCs lacking this font would not display the text in Calibri but to any default settings text. Whats the solution to it? Secondly now I am making a site on Dreamweaver CS3 using CSS. I have set the font calibri in the style sheet and it is appearing to me when i view the site in my browser but when i upload the site on the web the desired font doesn't appears? Any Solutions?

      D Offline
      D Offline
      Dalek Dave
      wrote on last edited by
      #2

      supply a link to that font and get them to download it.

      ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave

      1 Reply Last reply
      0
      • R Razanust

        At first i made the webpage in MS FrontPage 2003 and kept the font Calibri for the whole site. That used to appear on the web on every PC which had this font. But the PCs lacking this font would not display the text in Calibri but to any default settings text. Whats the solution to it? Secondly now I am making a site on Dreamweaver CS3 using CSS. I have set the font calibri in the style sheet and it is appearing to me when i view the site in my browser but when i upload the site on the web the desired font doesn't appears? Any Solutions?

        B Offline
        B Offline
        burntblark
        wrote on last edited by
        #3

        You can equally import the font using CSS. Which means you have to upload the font itself to the site. In your css you can do this:

        @font-face {
        src:url("path/to/font.ttf");
        fontFamily: YourFontFamily;
        }

        selector {
        fontFamily: YourFontFamily;
        }

        R 1 Reply Last reply
        0
        • B burntblark

          You can equally import the font using CSS. Which means you have to upload the font itself to the site. In your css you can do this:

          @font-face {
          src:url("path/to/font.ttf");
          fontFamily: YourFontFamily;
          }

          selector {
          fontFamily: YourFontFamily;
          }

          R Offline
          R Offline
          Razanust
          wrote on last edited by
          #4

          I have this stuff in my "FontStyleSheet.css" but stilll the font is not Calibri on the site. I have the .ttf file in the root folder as mentioned here. // @charset "utf-8"; .FontStyleSheet { font-family: Calibri; font-size: 12px; } @fontface { font-family:Calibri src: url("C:/Users/Raza/Desktop/IEEE test/Calibri.ttf") } selector { font-family:Calibri } //

          B S 2 Replies Last reply
          0
          • R Razanust

            I have this stuff in my "FontStyleSheet.css" but stilll the font is not Calibri on the site. I have the .ttf file in the root folder as mentioned here. // @charset "utf-8"; .FontStyleSheet { font-family: Calibri; font-size: 12px; } @fontface { font-family:Calibri src: url("C:/Users/Raza/Desktop/IEEE test/Calibri.ttf") } selector { font-family:Calibri } //

            B Offline
            B Offline
            burntblark
            wrote on last edited by
            #5

            First off, Lets me understand your stylesheet. .FontStyleSheet is the class of the tag you want to give a font of Calibri. If this is so then your css should look like this:

            @charset "utf-8";

            @fontface{
            font-family:Calibri;
            src: url("Calibri.ttf");
            }

            .FontStyleSheet {
            font-family: Calibri;
            font-size: 12px;
            }

            Note that the Calibri.ttf file should be in the same location as the FontStyleSheet.css file

            1 Reply Last reply
            0
            • R Razanust

              I have this stuff in my "FontStyleSheet.css" but stilll the font is not Calibri on the site. I have the .ttf file in the root folder as mentioned here. // @charset "utf-8"; .FontStyleSheet { font-family: Calibri; font-size: 12px; } @fontface { font-family:Calibri src: url("C:/Users/Raza/Desktop/IEEE test/Calibri.ttf") } selector { font-family:Calibri } //

              S Offline
              S Offline
              stebich
              wrote on last edited by
              #6

              The url() in your @fontface{}-block should be the path to the ttf-file on the web server, not on your local PC. Have a look on this site http://randsco.com/index.php/2009/07/04/p680[^] for a brief description of site embedded fonts.

              1 Reply Last reply
              0
              • R Razanust

                At first i made the webpage in MS FrontPage 2003 and kept the font Calibri for the whole site. That used to appear on the web on every PC which had this font. But the PCs lacking this font would not display the text in Calibri but to any default settings text. Whats the solution to it? Secondly now I am making a site on Dreamweaver CS3 using CSS. I have set the font calibri in the style sheet and it is appearing to me when i view the site in my browser but when i upload the site on the web the desired font doesn't appears? Any Solutions?

                J Offline
                J Offline
                Jayapal Chandran
                wrote on last edited by
                #7

                http://wiki.novemberborn.net/sifr3/[^] using flash you can display any font. it is SEO Friendly. It is just like other elements... you include the flash object and set a text... that is all... it works. and the text is selectable like other normal texts.

                Today's Beautiful Moments are Tomorrow's Beautiful Memories

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups