This main div organizes all the content.
这个主要的div组织所有的内容。
Think of a combo box that has two choices, one that hides the div and that one shows the div.
比如一个具有两个选项的组合框,一个选项是隐藏div,一个选项是显示此 div。
This div should be present in the template HTML file.
这个div应该出现在模板HTML文件中。
Each div has an id that identifies which function it serves.
每个div具有一个ID来标识它所提供的功能。
Then, span at the end selects span tags within that div.
然后,末尾的span选择该div内部的span标记。
In this example, the content is set as an XHTML div.
在这个例子中,内容被设为XHTMLdiv。
Place the cursor within the div tag for the BorderContainer component.
将鼠标置于BorderContainer组件的div标签上。
You apply the result to the width property in the div selector.
将结果应用到div 选择器的宽度属性。
Using spans here is probably a bit excessive; all the text within the title div will be hidden, as will all the text in the slogan div.
在这里使用span可能有点多余;所有在标题div内的文本将被隐藏,以及所有在标语div内的文本也一样。
Look at the div tag whose id is header in Listing 22.
看一下清单22中其id为header的div标记。
Within the body, there's a div named "splash"; that's pretty standard Web practice.
在正文之内,有名为 “splash” 的div 元素;这是非常标准的Web实践。
The code says that the div selector inherits a property to center the text.
这些代码表明div选择器继承了一个属性,以将文本居中。
Dictate that all pages maintain their content in one of four div elements: a div for the header, one for the footer, one for navigation, and one for content.
指明所有页面在下列四个div元素之一中维护其内容:一个div用于页眉,一个用于页脚,一个用于导航,一个用于内容。
This div is responsible for displaying terms in response to the user's typed input.
这个div负责显示术语以响应用户的输入。
You'll use div, span, and other dynamic HTML elements to mark up your HTML.
我们将使用div、span和其他动态html元素来标记HTML。
At any point in time, the visibility of these two div elements is mutually exclusive.
在任何时候,这两个div元素的可见性都是相互排斥的。
These methods place a spinner icon and remove it, respectively, inside of an HTML div element.
在HTMLdiv元素内,这些方法分别布置了旋转器图标并删除了它。
But the organization of that page — whether this word is inside that paragraph or in the other div — is solely up to you.
但页面组织,不管是在该段落内还是在其他分区,都只由您单独决定。
Each page (screen) in your web application will be a div on a single HTML page.
您应用程序中的每个页面(屏幕)在单个HTML页面上是一个div。
The form is contained within an HTML div with id of entryform, which is initially hidden.
表单被包含在HTMLdiv中,其id为entryform,后者在最开始被隐藏。
To understand where the parameter is used, look back at the footer div in Listing 22.
若要了解使用参数的地方,请查看清单22中的footerdiv。
So instead of having the empty suggest div, you add some bound data as shown in Listing 10.
因此suggestdiv 不再是空白,而是增加了一些绑定数据,如清单10 所示。
Using these div elements, we can easily show and hide their content (using the display CSS style).
使用这些div元素,很容易显示和隐藏内容(使用显示CSS样式)。
There's a section (represented by a div) with text in it (the title, and then the slogan).
有一个带有文本(标题和标语)的部分(用div表示)。
Finally, the modified text is set as the inner HTML of a div in the HTML form.
最后,修改后的文本作为HTML表单div中的内部HTML。
The div with the id of _IWID_formdiv will contain an HTML form fragment and is initially blank.
id 为 _IWID_formdiv的div将包含一个HTML表单片段,初始为空。
Each div is hidden until a user clicks the corresponding li element, which gets styled as a tab.
每个div 最初被隐藏,直到用户单击对应的li元素(显示为选项卡)。
In Listing 5, you can also see the empty div that Rails will update with the current time.
在清单5中,还可以看到空的div,Rails将用当前时间更新它。
Rails developers often need to execute complex scripts that do more than update a single div and execute effects.
Rails开发人员常常需要执行复杂的脚本,远不止更新单个div和执行效果那么简单。
Consider the jQuery example in Listing 6, where you highlight a div element based on the hover event.
看一下清单6中的jQuery示例,其中在hover事件中高亮显示div元素。
应用推荐