| View previous topic :: View next topic |
| Author |
Message |
Elevator_Hazard
Joined: 28 Oct 2006 Posts: 302 Location: US
|
Posted: Sun Jun 10, 2007 1:42 am Post subject: Add "Courier 10 Ptich" font to code boxes |
|
|
This is a small and simple request, I think. I do not have Courier New font and so the code tags on this site do not show up with a mono-spaced font. So I think that one of the options for the font-family should be Courier 10 Pitch. Its easy to install Courier New font, I'm sure, but it is still a nice commodity for others as well to not have to do that. If it requires more work than doing in the CSS, "font-family: Courier New, Courier 10 Pitch;" then you can pretty much forget about this request, I'm just putting it out there. _________________ Changed siggy at request of ahklerner  |
|
| Back to top |
|
 |
sanitarium
Joined: 08 Jun 2007 Posts: 28
|
Posted: Sun Jun 10, 2007 2:54 am Post subject: Re: Add "Courier 10 Ptich" font to code boxes |
|
|
| Elevator_Hazard wrote: | | so the code tags on this site do not show up with a mono-spaced font. | Do the code boxes show up for anyone as mono-spaced? Spacing that appears aligned in editors here using Courier New ends up looking different when posted for me... |
|
| Back to top |
|
 |
Elevator_Hazard
Joined: 28 Oct 2006 Posts: 302 Location: US
|
Posted: Sun Jun 10, 2007 1:45 pm Post subject: |
|
|
Maybe you don't have Courier New... I don't know. _________________ Changed siggy at request of ahklerner  |
|
| Back to top |
|
 |
sanitarium
Joined: 08 Jun 2007 Posts: 28
|
Posted: Sun Jun 10, 2007 4:21 pm Post subject: |
|
|
| Elevator_Hazard wrote: | | Maybe you don't have Courier New... I don't know. | Unless it's a modified version for some unknown reason, I do have it listed here on this XP Pro SP2 machine. |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10480
|
Posted: Sun Jun 10, 2007 10:16 pm Post subject: |
|
|
| The documentation deliberately avoids using a monospace font in PRE/Code sections because I feel it makes most examples looks better. By contrast, the forum is set to use monospace (Andale / Courier I believe). If this isn't the case, please provide more details if you can. |
|
| Back to top |
|
 |
Helpy Guest
|
Posted: Mon Jun 11, 2007 8:50 am Post subject: |
|
|
| Chris wrote: | | the forum is set to use monospace (Andale / Courier I believe). | Exactly:
| Code: | | font-family: Andale Mono,Courier New,Courier,sans-serif |
So:
1) There is already Courier in the font list;
2) There is the sans-serif fall back (generic) name, so set your browser to use whatever font you want for this setting. Bitstream Vera Sans Mono is free, and close of Andale Mono. |
|
| Back to top |
|
 |
|