In this project, we will use the DHTML object DIV to help format our views.
在此项目中,我们将使用DHTML对象DIV来帮助格式化我们的视图。
We implement it with another DIV element because this object can contain all other objects including itself.
我们使用另一个DIV元素来实现它,因为此对象可以容纳包括自身在内的所有其他对象。
It also renders DIV within the dialog container for the dialog content.
它还将在对话框内容的对话框容器中呈现DIV。
Adjusting your DIV that contains the text can help the situation.
调整包含文本的DIV可以帮助解决这个问题。
Additionally, each slide is also presented by a DIV object.
此外,每个幻灯片也要被一个DIV对象代表。
To solve this problem, you must give DIV a fixed size.
为了解决这个问题,必须给DIV设置固定的大小。
To achieve an organized appearance, you need something else -- DIV.
为了实现有组织的外观,需要其他东西 —— DIV。
Personally, I have found that creating a separate DIV yourself is almost as easy as working with this widget.
就我个人而言,我认为自己创建一个DIV与使用这个小部件差不多一样容易。
Of course, this doesn't mean you should wrap everything in DIV or SPAN elements.
当然,这并不意味着应该将所有东西都包围在DIV或SPAN元素中。
It is the most important element in our presentation, and nearly 50% of our code deals with DIV objects.
它是我们的演示中最重要的元素,几乎有50%的代码都是处理DIV对象的。
Because the DIV object has a editable mode, when we turn that on, all objects in the DIV can be altered.
因为DIV对象有可编辑模式,当我们开启此模式时,DIV中的所有对象都能被改变。
Listing 3 shows you how to give DIV a proper width.
清单3演示如何给DIV设置合适的宽度。
这份排名还反映了在超级计算速度方面的极快进步。
I "hacked" the link inside the id of the DIV, which probably isn't the ideal method.
我其实“破坏”了此DIV的ID内的链接,而这显然不是最理想的方法。
If you change the size of the window, some browsers will also change the width of DIV.
如果改变窗口的大小,一些浏览器也会改变DIV的宽度。
The DIV element is added to the Suggestion List.
将DIV元素添加到建议列表中。
This function is starting the AJAX request and adding an DIV Block with some more text.
这个函数启动AJAX请求并添加一个包含文本的div块。
Unfortunately, you'll soon realize that DIV causes similar problems.
不幸的是,您很快就会意识到DIV会造成相似的问题。
In modern browsers, CSS properties aren't limited to DIV elements.
在现代浏览器中,css属性并没有局限于DIV元素。
You need to get the length of the text dynamically and then set the size of DIV.
需要动态地获取文本的长度,然后设置DIV的大小。
Finally, obtain the DIV element, which is used to display the response.
最后,获取DIV元素,它是用于显示响应的。
The width of DIV is not the absolute value, but rather the minimum width.
DIV的宽度不是绝对的,而是最小宽度。
When the page is first rendered, a DIV container is rendered for the dialog box.
初次呈现页面时,将为对话框呈现一个div容器。
If you have 10 buttons inside a div, attach only one event handler to the div wrapper, instead of one handler for each button.
如果您有10按钮内的一div将只有一个事件处理程序附加到该div包装的每个按钮的一个处理程序而不是。
This main div organizes all the content.
这个主要的div组织所有的内容。
Applying this to the original div element, the contents of the div element would now look like.
将这个函数应用到初始的div元素,div元素的内容就变成下面这样。
Each div has an id that identifies which function it serves.
每个div具有一个ID来标识它所提供的功能。
If there's no value, then keep the content div empty.
如果没有值,那么就让内容div保持为空。
Think of a combo box that has two choices, one that hides the div and that one shows the div.
比如一个具有两个选项的组合框,一个选项是隐藏div,一个选项是显示此 div。
Within that div is the textual slogan.
该div 内部就是文本标语。
应用推荐