在Blogger中,如何更改courier的默认设置<span style =“font-family:Courier New,Courier,monospace;”> </span>

时间:2014-07-03 09:22:15

标签: fonts customization blogger

我正在使用Blogger,并希望以快递格式发布我的代码。但是,当前设置为

  

<span style="font-family: Courier New, Courier, monospace;"> Courier</span>

(当我选择一个文本块并转到html视图时,我可以找到这个)

但是,Windows和IOS中的快递字体非常薄,并且很容易从默认字体中识别(似乎是arial)。但在Ubuntu中,区分它有点困难。如果我将字体更改为

  

<span style="font-family: Courier;"> Courier</span>

或者

  

<span style="font-family: Courier, Courier New, monospace;"> Courier</span>

这样我才能拥有快递或最高快递优先权?

我可以添加一个新的&#34;代码&#34;样式使用Template-&gt;自定义 - &gt;高级 - &gt;添加CSS。但问题仍然是我需要手动更改代码。我是否有可能使用CSS智能地过载,我可以将所有Courier New更改为Courier?

我已经尝试过此链接中的代码格式指南,通过其他一些stackoverflow问题,它有利于颜色和缩进,但我仍然无法更改快递新的快递.. http://www.craftyfella.com/2010/01/syntax-highlighting-with-blogger-engine.html

非常感谢你的帮助。我不想一个接一个地更改所有的html标签..

0 个答案:

没有答案