A common implementation technique is to set one initial font size, then use percentages for any other font sizes further down the stylesheet.
一种常用的实现技术是,设置一个初始字体大小,然后在样式表中对任何其他字体大小使用百分数。
For example, Listing 5 shows how we set the size of the font for the sidebar container.
例如,清单5显示我们如何设置边栏容器的字体大小。
For example, if we chose to set a font size for a content area within this sidebar to be 90%, then this would be 90% of 80% of the initially set size.
例如,如果将这个边栏中一个内容区域的字体大小设置为90%,那么字体大小会是初始设置的大小的80%的90%。
It also assumes that in the body selector, the value of the font size property is set to 1em.
它还假设在正文选择器中,字体大小属性的值被设置为1em。
The new Ubuntu font will be set as default, and the new default size has been increased to 11.
新的Ubuntu的字体将被设定为默认字体,新的默认大小已增加到11。
The font size for this look and feel is set to 30 (line 5), the ICONS are scaled to 250 percent of their original size (line 3), and the basic colors are set to black and white (lines 6 through 15).
这个lookandfeel所使用的字体大小被设置为30(第5行),图标被放大到初始大小的250%(第3行),基本颜色则被设置为黑色和白色(第6行到第15行)。
The Item is "Icon", the font is "Tahoma", size 32, the font size is 8 and lastly, the "B" is impressed (by clicking on it) to indicate it’s set to bold.
“图标”栏,字体设置为“Tahoma”,大小为32,字体大小8,点击“B"将设置变为粗体。
Even if you set a font size to a descriptive value, such as medium, you will see different results in different browsers.
即使是将字体大小设成了一种描述性值,比如中,在不同的浏览器中也会看到不同的结果。
It's not a huge deal to align the paragraph or set the font face and size — until you have multiple paragraphs (see Listing 3).
对齐段落或者设置字体及大小不是什么了不起的事——除非有很多段落(如清单3所示)。
You can spend countless hours toying with font-size inheritance, like I did on the Geniant Blog, or you can set sizes in pixels and get on with your life.
你可以花上无数小时在考虑字体的大小,继承问题,就像我当时做GeniantBlog那时一样,或者你可以在以后都一个个像素的调整。
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值设置应用程序的字体大小来避免文本大小问题,如没有其他选择,也可以使用像素大小。
The font and color attributes of the p element are used to set the font, font size and color of the text respectively.
p元素的font和color属性是分别用来设置字体、字号和字体颜色的。
If the size attribute is a number between 1 and 7, set the font to an arbitrary size.
如果size属性是1到7之间的数字,则将字体设置为任意大小。
As a last resort, set the font size to 12pt.
作为最后手段,将字体设置为12pt。
Now the header is set to a height of 200 pixels, features text that is very large (about 250% of the base font size) and displays a bright yellow color.
现在页眉已经设置到了200像素的高度,显示的文本非常大,(大概是基本的字体大小的百分之250)而且显示了一个明亮的黄色。
One em is the width and height of one “m” character (using whatever font size a website is set to).
1em正好是一个“m”字符的宽度和高度(而无论你的网站使用多大的字号)。
So, I already know what 1px is from before: 0.0625em. To set 18px font size for the, do this.
因此,我已经从前面知道了1px的em值:0.0625 em。
The more popular method is to set your font-size for the whole document, then, base everything on a relative size from there.
一个更通用的方法是在为整个文章设置字体大小,然后从那儿将每个部分字体以一个相关的大小为基础。
If you have to set the font to a specific size in order for your layout to work, make sure you don't use that font for your site's more important information.
如果你将字体设置为一个规定的大小,以适应你的布局,确定对于站点上更加重要的信息,你没有使用那个字体。
You can set it to any size, but something much smaller than your content's font size would be a good idea.
你可以将文本设置为任何大小,但是比你的文章内容的字体大小更小些,会是一个好主意。
Right click on desktop -> Personalize -> Windows Color -> Advanced Appearance settings…-> then click on active window and set size of Active Title Bar to 19 and size of font to 8.
这句的意思是进入个性化->窗口颜色和外观->高级外观设置,选择“项目”中的“活动窗口标题栏”,将大小改为19,“字体”大小改为8。
Set the filter's properties you can set the subtitle file's path, size of font and so on.
在字幕叠加过滤器属性中,可以设置字幕文件路径、字体颜色大小等属性。
This example USES the BASEFONT element to set the base font size, and the font element to temporarily override it.
下面的例子使用BASEFONT元素来设置基础字体大小,而FONT元素用来临时覆盖此设置。
To set the font and font size, click font, and then make your changes in the font and size boxes.
如果要设置字体和字号,请单击“字体”命令,然后在“字体”和“字号”框内进行所需更改。
To set the font and font size, click font, and then make your changes in the font and size boxes.
如果要设置字体和字号,请单击“字体”命令,然后在“字体”和“字号”框内进行所需更改。
应用推荐