In extjs, the font size in Firefox is small. solution:

Source: Internet
Author: User

The text of ext in FF-Firefox is smaller and fuzzy. This is determined by the font size. Font-size: 11px; no problem in English. It is also possible in IE. However, Chinese characters cannot be displayed normally. Therefore, Set Font-size: 12px, but the font style must be specified. The following figure shows the modified font style. Import! </P> <p> @ charset "UTF-8"; </P> <p>. x-window-footer {<br/> position: relative; <br/> top: 0; <br/> right: 0; <br/>}</P> <p>. x-tab-strip span. x-tab-strip-text {<br/> font-size: 12px; <br/>}</P> <p>. x-panel-header {<br/> font-size: 12px; <br/>}</P> <p>. x-tree-node {<br/> font-size: 12px; <br/>}</P> <p>. x-grid3-hd-row TD {<br/> font-size: 12px; <br/>}</P> <p>. the x-grid3-row TD {<br/> font-size: 12px; <br/> line-Height: 16px; <br/>}</P> <p>. x-tip. x-tip-BD {<br/> font-size: 12px; <br/>}</P> <p>. x-tip H3 {<br/> font-size: 12px; <br/>}</P> <p>. x-tip. x-tip-BD-inner {<br/> font-size: 12px; <br/>}</P> <p>. x-panel-Tl. x-panel-header {<br/> Font: normal 12px tahoma, Arial, verdana, sans-serif; <br/>}</P> <p>. x-form-field {<br/> Font: 12px tahoma, Arial, Helvetica, sans-serif; <br/>}</P> <p>. x-small-editor. x-form-field {<br/> Font: 12px tahoma, Arial, Helvetica, sans-serif; <br/>}</P> <p>. x-combo-list-item {<br/> Font: 12px tahoma, Arial, Helvetica, sans-serif; <br/>}</P> <p>. x-menu-list-item {<br/> Font: 12px tahoma, Arial, sans-serif; <br/>}</P> <p>. x-window-Tl. x-window-header {<br/> Font: bold 12px tahoma, Arial, verdana, sans-serif; <br/>}</P> <p>. EXT-ie. x-form-text {<br/> margin-top: 1px; <br/>}</P> <p>. x-form-item {<br/> Font: 12px tahoma, Arial, Helvetica, sans-serif; <br/>}</P> <p>. x-grid-group-HD Div {<br/> Font: bold 12px tahoma, Arial, Helvetica, sans-serif; <br/>}</P> <p>. x-BTN-text-icon. x-BTN-center. x-BTN-text {<br/> background-position: 0pt 2px; <br/> background-repeat: No-Repeat; <br/> padding: 3px 0pt 2px 18px; <br/>}</P> <p>. EXT-Gecko. x-BTN button {<br/> padding-left: 0pt; <br/> padding-Right: 0pt; <br/>}</P> <p>. x-BTN button {<br/> font-size: 12px; <br/>}</P> <p>. x-toolbar TD ,. x-toolbar span ,. x-toolbar input ,. x-toolbar Div ,. x-toolbar select ,. x-toolbar label {<br/> font-size: 12px; <br/>}</P> <p>. x-tip. x-tip-body {<br/> font-size: 12px; <br/>}< br/>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.