最近用ext3做前段页面数据展示,发现在其他浏览器都能正常显示字体,但是在火狐却比较小,记得以前用的时候火狐下面明明是正常的,于是找到以前的项目,在其ext框架内找到了个ext-patch.css,于是屏蔽掉后,测试发现在火狐果然字体变小了。ok,复制粘贴,问题解决了。
ext-patch.css源码如下:
.x-window-footer {
position: relative;
top: 0;
right: 0;
}
.x-tab-strip SPAN.x-tab-strip-text {
font-size: 12px;
}
.x-panel-header {
font-size: 12px;
}
.x-tree-node {
font-size: 12px;
}
.x-grid3-hd-row TD {
font-size: 12px;
}
.x-grid3-row TD {
font-size: 12px;
LINE-HEIGHT: 16px;
}
.x-tip .x-tip-bd {
font-size: 12px;
}
.x-tip h3{
font-size: 12px;
}
.x-tip .x-tip-bd-inner{
font-size:12px;
}
.x-panel-tl .x-panel-header {
FONT: normal 12px tahoma,arial,verdana,sans-serif;
}
.x-form-field {
FONT: 12px tahoma,arial,helvetica,sans-serif
}
.x-small-editor .x-form-field {
FONT: 12px tahoma,arial,helvetica,sans-serif
}
.x-combo-list-item {
FONT: 12px tahoma,arial,helvetica,sans-serif;
}
.x-menu-list-item {
FONT: 12px tahoma,arial,sans-serif;
}
.x-window-tl .x-window-header {
FONT: bold 12px 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;
}
.x-form-item {
FONT: 12px tahoma,arial,helvetica,sans-serif
}
.x-grid-group-hd DIV {
FONT: bold 12px tahoma,arial,helvetica,sans-serif;
}
.x-btn-text-icon .x-btn-center .x-btn-text {
background-position:0px 2px;
background-repeat:no-repeat;
padding:3px 0px 2px 18px;
}
.ext-gecko .x-btn button {
padding-left:0px;
padding-right:0px;
}
.x-btn button{
font-size:12px;
}
.x-toolbar div.xtb-text{
padding:2px 2px 0;
line-height:16px;
font-size:12px;
display:block;
}
.x-tip .x-tip-header-text {
font: bold 12px tahoma,arial,helvetica,sans-serif;
color:#444;
}
.x-tip .x-tip-body {
font: normal 12px tahoma,arial,helvetica,sans-serif;
color:#444;
}
.ext-el-mask-msg div {
background-color: #eee;
border-color:#a3bad9;
color:#222;
font:normal 12px tahoma, arial, helvetica, sans-serif;
}