通过显示样式代码,也突出了你的设计的独特性。
This also highlights the uniqueness of your design by showing off your style codes.
“视觉效果”可以靠改变样式表或添加两行样式代码来轻易实现。
The "look and feel" can easily be changed through the CSS and additional styles can easily be added by adding 2 lines of CSS.
当然,你也可以为当前选中的菜单项单独设置另一种背景样式,只需要为该菜单项再添加一段样式代码,例如。
Of course you could use a third special image for the currently selected item too. Then you would just use a third rule like this.
当然,你也可以为当前选中的菜单项单独设置另一种背景样式,只需要为该菜单项再添加一段样式代码,例如。
Of course you could use a third special image for the currently selected (active) item. Then you would just use a third rule like this.
如果想开发自己的工具提示部件,那么可以将这个实现的源文件和测试页面复制到硬盘上,然后就可以修改参数、样式或代码(参见下载)。
If so, you might want to copy the source files for the implementation and test harness onto your disk drive so you can alter the parameters, styles, or code ( see Download).
如您所见,这个代码直接操作样式,这不太好,因为这种工作应该留给CSS完成。
As you can see, this code directly manipulates styles, which is not good, as that job should be left to CSS.
如果在更高版本中继续沿用这一策略,样式表可能会遇到过时的保护代码问题。
If that policy were to continue into higher versions, your stylesheets might have problems with obsolete guarding code.
尽管对FXG和CSS进行比较似乎有点奇怪,但FXG完成的任务在概念上与CSS完全相同:它将布局代码和样式信息分离开来。
Although it may seem strange to compare FXG to CSS, FXG conceptually accomplishes the same exact thing as CSS: it separates the layout code from the style information.
当支持样式的浏览器程序解释页面时,它会对样式表中的规则和HTML代码中的元素进行匹配,并根据规则显示页面。
When a style-capable browser program interprets the page, it matches the rules in the style sheet with the styled elements in your HTML code to display the page.
每当模式改变时,通过动态生成样式表,可以极大地减少代码大小和减少引入剪贴错误的几率。
By generating the style sheets dynamically whenever the schema changes, you greatly reduce code size and the chance of introducing copy-and-paste errors.
您所选择的样式对样式表的代码复杂性和可维护性具有重要的影响。
The style you choose has a significant impact on the code complexity and maintainability of your style sheets.
同样地,要让CSS代码保持整齐,可以考虑对组件样式子集进行分组。
Similarly, to keep your CSS code tidy, consider grouping component style subsets.
由于场景本身可能使用非常普通的样式编写,因此应用程序代码不应包含所有者信息。
Because the scenarios themselves will probably be written in a very generic fashion, the application code should not contain proprietary information.
要重构代码,首先将样式信息移到css样式表中。
To refactor the code, start moving the style information to a CSS stylesheet.
当HTML代码具有良好的样式时,可以高效地利用CSS定位器。
CSS locator is efficiently utilized when HTML codes have good style.
在用某些编程语言编写代码时,缩进是样式的重要部分,可以确保代码的可读性更好。
When writing code in certain programming languages, indentation is an important part of the style to ensure that the code is more readable.
大多数样式表很容易,但元素-新表行的HTML代码如何呢?
Most of the style sheet is easy, but what about the element, the HTML code for a new table row?
学习了如何安装工具,利用HTML创建基本的界面,甚至添加一些PHP代码和一些CSS样式。
You've learned how to install the tools, create basic interfaces with HTML, and even added a bit of PHP code and some CSS styling.
使用这种新的样式,您无需更改原始代码即可容易地重用和自定义各个部分,而使用过程代码时则通常必须更改原始代码。
With this new style, you can easily reuse and customize things without changing the original code, as is often necessary with procedural code.
重构代码——计算表单元格的样式。
清单5中的代码示例创建两种样式的TaskTip。
Listing 5 shows a code sample that create two TaskTip styles.
然后我们在Notes数据库中创建一个页面设计元素,它包含了将XML文档转换成sql语句的xslt样式表代码。
We then created a page design element within the Notes database, which contained the XSLT style sheet code that would transform the XML document into an SQL statement.
而是应该在一个单独的文件定义您自己的样式,并根据需要覆盖Blueprint代码。
Instead, define your own styles in a separate file and override the Blueprint code as needed.
如果要根据当前的屏幕大小指定要使用的样式表,您可以将下列代码添加到模板。
To specify a style sheet to be used depending on the current screen size, you can add this code to the template.
在开始使用LotusDomino 6.5时,管理员可以通过定义在缓存中保存哪些元素(样式表、静态代码、web页面、URL等)来设置缓存清除的接别。
Beginning with Lotus Domino 6.5, administrators can set the level of cache cleanout by defining which elements (style sheets, static code, Web pages, URLs, and so on) to keep in the cache.
在WebCal中,虽然源xml略有不同,但是,用于创建和编辑活动的视图使用同一个样式表。(有关代码,请参阅第3步)。
In WebCal, the views for creating and editing events use the same style sheet while the source XML is slightly different (see Step 3 for the code).
然后,样式表可以通过变量从代码清单中抽取信息。
Then the style sheet can extract information from the code list through the variable. Of course, you can use XPath to query the currencies document
在清单2中,示例代码演示了如何使用WSIF来调用rpc样式的Web服务。
In Listing 2, the sample code illustrates use of WSIF for invoking an RPC-style web service.
在清单2中,示例代码演示了如何使用WSIF来调用rpc样式的Web服务。
In Listing 2, the sample code illustrates use of WSIF for invoking an RPC-style web service.
应用推荐