HydrogenAudio

Hydrogenaudio Forum => Site Related Discussion => Topic started by: ascent1729 on 2010-07-14 17:28:46

Title: Monospaced font used throughout site?
Post by: ascent1729 on 2010-07-14 17:28:46
Hello, I am a new member of the forum. When I came here today, I noticed that the entire site seems to be in a monospaced font, which is not really what I want, since it's hard to read. I'm using Firefox 3.6.6 on Linux, and no other site is using exclusively monospaced font like this one is. Is this a known issue here, or is it more likely to be my browser? Thanks.
Title: Monospaced font used throughout site?
Post by: Zarggg on 2010-07-14 18:11:49
I will have to assume that it's your browser/OS settings, as my browser displays variable-width fonts for this site, except where a monospaced font is specified.
Title: Monospaced font used throughout site?
Post by: probedb on 2010-07-14 21:12:05
Nope the doesn't and never has used a monospaced font. I've used a variety of browsers and OSes and never seen that.

Though you do seem to have picked a completely different font to the standard one to format your post.

Edit: Quick addition....using Firebug and inspecting the text, it returns the following CSS:

Code: [Select]
font-family:Verdana,Tahoma,Arial,"Trebuchet MS",Sans-Serif,Georgia,Courier,"Times New Roman",Serif;


It's possible you haven't got any font on that list before Courier....tho why Courier is on there at all is beyond me. All fonts declared should be of the same type.

Going back on my original sentence, the guy has a point as that declaration is crazy!!
Title: Monospaced font used throughout site?
Post by: ascent1729 on 2010-07-14 21:28:35
I fixed it for me by changing the Firefox settings for default fonts displayed on websites. Thanks!
Title: Monospaced font used throughout site?
Post by: Zarggg on 2010-07-15 03:46:05
Code: [Select]
font-family:Verdana,Tahoma,Arial,"Trebuchet MS",Sans-Serif,Georgia,Courier,"Times New Roman",Serif;


It's possible you haven't got any font on that list before Courier....tho why Courier is on there at all is beyond me. All fonts declared should be of the same type.

Except that "sans-serif" is a CSS keyword referring to the default sans-serif font as defined by the browser. Since Firefox explicitly defines a value for this, that means the OP must have had a monospaced font set as his default sans-serif font (given his choice of OS, most likely Bitstream Vera Sans Mono or its more mature cousin DejaVu Sans Mono).
Title: Monospaced font used throughout site?
Post by: dv1989 on 2010-07-15 10:31:42
I've done some light CSS in the past, but I don't recall: Does it make a difference that said keyword has been capitalised?
Title: Monospaced font used throughout site?
Post by: probedb on 2010-07-15 12:40:39
Code: [Select]
font-family:Verdana,Tahoma,Arial,"Trebuchet MS",Sans-Serif,Georgia,Courier,"Times New Roman",Serif;


It's possible you haven't got any font on that list before Courier....tho why Courier is on there at all is beyond me. All fonts declared should be of the same type.

Except that "sans-serif" is a CSS keyword referring to the default sans-serif font as defined by the browser. Since Firefox explicitly defines a value for this, that means the OP must have had a monospaced font set as his default sans-serif font (given his choice of OS, most likely Bitstream Vera Sans Mono or its more mature cousin DejaVu Sans Mono).

It is but that declaration is still wrong. Declaring Sans-Serif and Serif in the same declaration!?