为JSF组件设置默认样式。
因此,此时就是设置默认样式的最佳时机。
Therefore, here is the place where you get the chance to set the default styles.
然后用户可以用其各自的样式表替换默认样式表。
The user can then replace the default stylesheet with his respective stylesheets.
然后用户可以用其各自的样式表替换默认样式表。
The user can then replace the default style sheet with his respective style sheets.
在绑定Ext的默认样式和调试脚本后,配置onready块。
After hooking in the default styles and debug scripts for Ext, an onReady block is configured.
浏览器会对XHTML应用默认样式,这可能会给主题设计人员造成混乱。
A browser will apply default styles to XHTML, which can cause confusion for the theme designer.
它重置为默认样式间距,表格,字体等,让您可以从一张白纸。
It resets default styles for spacing, tables, fonts, etc. so you can work from a clean SLATE.
本系列的第1部分展示如何构建自定义组件来设置JSF组件的默认样式。
Part 1 of this series showed you how to build a custom component for setting the default styles of JSF components.
此外,在代码中为个别行和单元格设置的样式会取代默认样式。
Additionally, styles that you set in code for individual rows and cells override the default styles.
为了实现这一点,所有你需要做的是按照需求重写默认样式和添加样式。
To accomplish this, all you’ll need to do is overwrite and add to the default styles as necessary.
当然每个站点都有一些特有的样式表来按需重写和添加框架理的默认样式。
Then, of course, there are also site-specific stylesheets for each site which overwrite and add to the framework’s default as necessary.
请注意在大多数应用程序内,为每个组件创建一个默认样式并不意味着就完事大吉了。
Keep in mind that in most applications, you won't be able to get away with just creating a default style for each component and calling it a day.
如果一个属性由默认样式设置,则当控件显示在应用程序中时,该属性可能会更改其默认值。
If a property is set by a default style, the property might change from its default value when the control appears in the application.
最后结尾是讨论如何使在各种浏览器样式元素的方法标准化——你可以不顾那些默认样式的感受。
Lastly, I discuss how to standardize the way various browsers style elements-so you can override these default styles with confidence.
除了使代码更加紧凑,此更改还允许您实现对所有组件都有用的特性,比如将默认样式类添加到HTML标记。
In addition to making the code more compact, this change allows you to implement features that are useful to all components, such as adding default style classes to the HTML tags.
对于我们要使用的所有XHTML元素选择器,将空白边和补白设置为零,从而防止浏览器应用默认样式,见清单3。
We chose to normalize all the XHTML element selectors we knew we wanted to use by setting the margin and padding to zero, as shown in Listing 3.
该模板文件包含了关于默认样式的信息,这些默认样式例如Heading1、Heading2、Normal等等。
It is this template file that contains information about default styles such as Heading 1, Heading 2, Normal, etc.
此时,我向新内容控件的默认样式表(Themes \theme \Styles \default . css)添加了样式。
At this point, I added styles to the default style sheet (Themes \ theme \ styles \ default.css) for the new content controls.
例如,用户可以定制在使用系统时,在个人的默认视图中显示的数据,并为不同的数据元素应用不同的显示样式。
For example, users can customize the data to be displayed in their personal default view when using the system and apply different presentation styles to different data elements.
另外,您可以在一个页面上注册一个或多个JCSS定义,用于定义默认的样式。
Alternatively, you can register one or more JCSS definitions on a page for defining the default styles.
我们发现自己在重复设置默认浏览样式表,设置一个布局基线,为了导航条目一次又一次的写css——几乎在所有的项目中。
We find ourselves resetting the browser default styles, setting up a baseline grid and writing CSS for navigation tabs over and over again-on almost every project.
由于默认组件样式对应用程序的整体观感具有巨大的影响,所以您需要能够快速和容易地访问到它们。
Because your default component styles have the greatest impact on the overall look and feel of your application, you need to have quick and easy access to them.
这里所展示的技巧可以用来设置JSF组件的任何属性,而不仅仅是默认的样式。
The technique presented here can be used to set any attributes or properties of the JSF components, not just the default styles.
在构建您自己的主应用程序CSS文件时,通常一种好的做法是首先放置那些默认的组件样式声明。
When building your main application CSS file, it's generally good practice to place your default component style declarations first.
此外,如果看一看前面的T4样式定义,就会发现基本上定义了常规的——即默认的——字体样式和粗细。
Moreover, if you look at the earlier T4 style definition you'll see that it merely defines normal — that is, default — font style and weight.
因此,默认的样式必须在呈现组件之前的RenderResponse阶段执行期间设置。
Therefore, the default styles must be set during the execution of the render Response phase before rendering the components.
默认的jQTouch样式表不对嵌套的元素提供好的样式控制,该元素在这里用作食谱说明。
The default jQTouch stylesheets do not provide good style control over nested elements, which are being used here for the recipe instructions.
xml文件也含有一些样式信息,可以用来自动创建一些默认值,如字体和颜色。
The content.xml file also contains some style information and can be used to create some of the default values, such as fonts and colors, automatically.
而且,DataContainer将会加载并保存这些数据,还会默认地添加VCR样式的导航与编辑控件而不用编写代码。
In addition, the DataContainer will load and save the data and adds VCR-style navigation and editing by default, without writing code.
而且,DataContainer将会加载并保存这些数据,还会默认地添加VCR样式的导航与编辑控件而不用编写代码。
In addition, the DataContainer will load and save the data and adds VCR-style navigation and editing by default, without writing code.
应用推荐