Hi,
I want to change the font for Geshi to an unproportional one like Courier.
How can I achieve this?
Thanks for any support.
Dirk
Changing font for Geshi
Re: Changing font for Geshi
Use the source, Luke.Lux wrote:I want to change the font for Geshi to an unproportional one like Courier.
Add this to your template's style.css:
Code: Select all
.geshi { font-family: Courier, monospace; }
Code: Select all
.geshi { font-family: Consolas, 'Courier New', Courier, monospace; }
YL
-
- Regular
- Posts: 764
- Joined: Fri Aug 12, 2005 4:36 pm
- Location: Grüt, Zürich, Switzerland
- Contact:
Re: Changing font for Geshi
yellowled wrote:Use the source, Luke.
Perfect! Thanks a lot.yellowled wrote:Add this to your template's style.css:but Consolas is not available on any system. However, make sure that you include monospace as a fallback.Code: Select all
.geshi { font-family: Consolas, 'Courier New', Courier, monospace; }
Cheers
Dirk