Developers: Avoid text size problems by using CSS to set the application's font size in either percentages or em unit values. As a last resort, use pixel sizes.
开发人员:通过使用CSS按百分比或em值设置应用程序的字体大小来避免文本大小问题,如没有其他选择,也可以使用像素大小。
One way of getting around the problem of making text the same size in multiple browsers is to use Cascading Style Sheets (CSS), with either percentages or em values for font sizing.
要使多个浏览器中文本呈现的字体大小相同,一种方法是使用级联样式表(Cascading Style Sheets,CSS),在设置字体大小时可以使用百分比或em值。
Below is the start of the whitetheme_27X132.css style sheet, in which the font size was simply changed from 10pt to 9pt.
以下是whitetheme_27X132 . css样式表的开始部分,它只是简单地把字体大小从10pt更改为9pt。
The CSS font properties allow you to change the font family, boldness, size, and the style of a text.
CSS字体属性允许你改变字体以及它的粗细,大小和样式。
Some would argue that the em unit was actually the first variable in CSS, as it referred to the value of font-size.
可能有人会争论说em单位才是CSS中的第一个变量,因为它引用了font - size的值。
Some would argue that the em unit was actually the first variable in CSS, as it referred to the value of font-size.
可能有人会争论说em单位才是CSS中的第一个变量,因为它引用了font - size的值。
应用推荐