firefox 中文字体太小的解决方案

解决办法其实很简单,就是将所有的默认字体 改为13px.使用方法:
在引用 ext 的css后面再加上引用 ext -patch.css 即可.
(当然你也可以把它加在引用ext 的css文件最后.)

ext -patch.css
(可以直接下载附件ext -patch.zip)

/* --------------- 修改 Ext
 CSS -------------- */
/* Ext
 2.0 */
.x-window-footer {
    position: relative;
    top: 0;
    right: 0;
}
.x-tab-strip SPAN.x-tab-strip-text  {
	font-size: 13px;
}
.x-panel-header {
	font-size: 13px;
}
.x-tree-node {
	font-size: 13px;
}
.x-grid3-hd-row TD {
	font-size: 13px;
}
.x-grid3-row TD {
	font-size: 13px;
	LINE-HEIGHT: 18px;
}
.x-tip .x-tip-bd {
	font-size: 13px;
}
.x-tip h3{
	font-size: 13px;
}
.x-tip .x-tip-bd-inner{
	font-size:13px;
}
.x-panel-tl .x-panel-header {
	FONT: normal 13px tahoma,arial,verdana,sans-serif;
}
.x-form-field {
	FONT: 13px tahoma,arial,helvetica,sans-serif	
}
.x-small-editor .x-form-field {
	FONT: 13px tahoma,arial,helvetica,sans-serif	
}
.x-combo-list-item {
	FONT: 13px tahoma,arial,helvetica,sans-serif;	
}	
.x-menu-list-item {
	FONT: 13px tahoma,arial,sans-serif;
}
.x-window-tl .x-window-header {
	FONT: bold 13px tahoma,arial,verdana,sans-serif;	
}
.x-layout-split-west .x-layout-mini {	
	BACKGROUND-IMAGE: url(../images/mini-left.jpg);	
}
.ext
-ie .x-form-text {
	margin-top:1px;
} /* the textField missing bottom line */
.x-form-item {	
	FONT: 13px tahoma,arial,helvetica,sans-serif
}
.x-grid-group-hd DIV {	
	FONT: bold 13px tahoma,arial,helvetica,sans-serif;
}

/*按钮字体
 Add by extjs.org.cn */
.x-btn-text{
	font: 12px tahoma,arial,sans-serif;
}
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值