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. Using different fonts for Firefox

Using different fonts for Firefox

Scheduled Pinned Locked Moved Web Development
questionc++cssarchitecturehelp
4 Posts 3 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.
  • C Offline
    C Offline
    Christian Graus
    wrote on last edited by
    #1

    I have done a website, using pages given to me by a graphic designer. He was very specific, I was told what fonts to use, etc. Here is the CSS for the three different areas we specify text: .menuItem { font-family: Century Gothic; font-size:smaller; text-align: right; margin-right: 10px; } .text { font-family: Century Gothic; font-size:small; font-style:italic; font-weight:normal; text-align: justify; line-height: 18px; margin-left: 20px; } .gradient { background-image: url('images/pages/home/gradient.JPG'); background-position: left top; background-repeat: repeat; font-family: Century Gothic; font-size:small; font-style:italic; font-weight:400; text-align: justify; line-height: 18px; margin-left: 20px; } This looks exactly like the screenshots in IE, but it looks terrible in Firefox. How can I keep the look we want in IE, but specify different fonts for Firefox ?

    Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

    U P 2 Replies Last reply
    0
    • C Christian Graus

      I have done a website, using pages given to me by a graphic designer. He was very specific, I was told what fonts to use, etc. Here is the CSS for the three different areas we specify text: .menuItem { font-family: Century Gothic; font-size:smaller; text-align: right; margin-right: 10px; } .text { font-family: Century Gothic; font-size:small; font-style:italic; font-weight:normal; text-align: justify; line-height: 18px; margin-left: 20px; } .gradient { background-image: url('images/pages/home/gradient.JPG'); background-position: left top; background-repeat: repeat; font-family: Century Gothic; font-size:small; font-style:italic; font-weight:400; text-align: justify; line-height: 18px; margin-left: 20px; } This looks exactly like the screenshots in IE, but it looks terrible in Firefox. How can I keep the look we want in IE, but specify different fonts for Firefox ?

      Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

      U Offline
      U Offline
      Ujjaval Modi
      wrote on last edited by
      #2

      Hi, Maybe these links will help you : 1) Link 1[^] 2) Link 2[^] 3) Link 3[^]

      Regards, Ujjaval Modi :) Manpower moves wrenches, horsepower moves cars, and the power of the mind moves the world.

      1 Reply Last reply
      0
      • C Christian Graus

        I have done a website, using pages given to me by a graphic designer. He was very specific, I was told what fonts to use, etc. Here is the CSS for the three different areas we specify text: .menuItem { font-family: Century Gothic; font-size:smaller; text-align: right; margin-right: 10px; } .text { font-family: Century Gothic; font-size:small; font-style:italic; font-weight:normal; text-align: justify; line-height: 18px; margin-left: 20px; } .gradient { background-image: url('images/pages/home/gradient.JPG'); background-position: left top; background-repeat: repeat; font-family: Century Gothic; font-size:small; font-style:italic; font-weight:400; text-align: justify; line-height: 18px; margin-left: 20px; } This looks exactly like the screenshots in IE, but it looks terrible in Firefox. How can I keep the look we want in IE, but specify different fonts for Firefox ?

        Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

        P Offline
        P Offline
        Paddy Boyd
        wrote on last edited by
        #3

        If the problem is that Firefox doesn't support Century Gothic, can you do something like font-family: Century Gothic, verdana (or a more appropriate font);

        C 1 Reply Last reply
        0
        • P Paddy Boyd

          If the problem is that Firefox doesn't support Century Gothic, can you do something like font-family: Century Gothic, verdana (or a more appropriate font);

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          OK, so it chooses the next one if it doesn't find the first ? Thanks.

          Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

          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