Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    Master Coder
    Join Date
    Apr 2003
    Location
    in my house
    Posts
    5,211
    Thanks
    39
    Thanked 201 Times in 197 Posts

    what font is this?

    Hi,

    I made a post #4 in the following thread and I see that the font is different from the rest of the page. I can;t seem to see where the 'pre' tag css is declared and so I can;t seem to see what the font is.

    Can anyone please tell me?

    http://www.codingforums.com/showthread.php?t=201043

    Its the font in the 'pre' box I am looking for the name of.

    bazz
    "The day you stop learning is the day you become obsolete"! - my late Dad.

    Why do some people say "I don't know for sure"? If they don't know for sure then, they don't know!
    Useful MySQL resource
    Useful MySQL link

  • #2
    Senior Coder Rowsdower!'s Avatar
    Join Date
    Oct 2008
    Location
    Some say it's everything.
    Posts
    2,027
    Thanks
    5
    Thanked 397 Times in 390 Posts
    I don't see any different font there than any of the other code block sections.

    Firebug tells me that the font is inherited from here:
    Code:
    showthread.php?t=201043 (line 42)
    td, th, p, li {
    font-family:verdana,geneva,lucida,'lucida grande',arial,helvetica,sans-serif;
    ...
    Depending on which fonts you have installed it should be one of those.
    The object of opening the mind, as of opening the mouth, is to shut it again on something solid. –G.K. Chesterton
    See Mediocrity in its Infancy
    It's usually a good idea to start out with this at the VERY TOP of your CSS: * {border:0;margin:0;padding:0;}
    Seek and you shall find... basically:
    validate your markup | view your page cross-browser/cross-platform | free web tutorials | free hosting

  • #3
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,700
    Thanks
    6
    Thanked 1,011 Times in 984 Posts
    Well, it looks more like a monospace font and I doubt that it’s Verdana as Verdana is the font that is being used outside of the code blocks. It looks more like Courier or something like that although I’m also confused why it doesn’t show that font in Firebug.

  • #4
    New Coder
    Join Date
    Dec 2009
    Posts
    96
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Are you talking about this kind of font?

    blah blah blah

  • #5
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    It is in fact monospace.

    In firebug if you try to edit that font family and give it an inline style. Courier doesn't seem to match up but monospace doesn't change the font family at all so its likely monospace.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #6
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,956
    Thanks
    9
    Thanked 727 Times in 721 Posts
    Firebug is giving me:

    Code:
    xmp, pre, plaintext {
    display:block;
    font-family:-moz-fixed;
    margin:1em 0;
    white-space:pre;
    }
    which, as Aero says, seems to be equivalent to monospace.

  • #7
    Master Coder
    Join Date
    Apr 2003
    Location
    in my house
    Posts
    5,211
    Thanks
    39
    Thanked 201 Times in 197 Posts
    thanks guys,

    I thought it looked quite a pleasant - easy on the eye - font and I might use it for a while.

    Do all OSs have it installed?

    bazz
    "The day you stop learning is the day you become obsolete"! - my late Dad.

    Why do some people say "I don't know for sure"? If they don't know for sure then, they don't know!
    Useful MySQL resource
    Useful MySQL link


  •  

    Posting Permissions

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