这样避免了浮动标签影响页面上其它元素的位置。
This prevents the floated tabs from affecting the position of other page elements.
定位:浏览器决定了被浮动元素相对于该元素在文档的 “正常排列” 中的位置的垂直位置。
Positioning. The browser determines a floated element's vertical position from the element's location in the "normal flow" of the document.
位置优先原则:在判断浮动框位置时,最佳垂直限制优于最佳水平限制。
Position precedence rule. When resolving the float box position, the optimum vertical constraint takes precedence over the optimum horizontal constraint.
最受欢迎的演唱会的前排位置逐渐被定位为溢价票或白金票,这些票以固定高价、甚至根据需求浮动价格售出。
Front-row seats for desirable shows are increasingly marketed as "premium" or "platinum" tickets, sold at a high fixed price or even at prices that float according to demand.
none-不对框的位置应用任何与之前的被浮动元素相关的限制。
None - Apply no constraint on the box's position with respect to previous floated elements.
该图展示了浮动可能被放置在不同的位置。
这样的效果是,一个被清理的盒没法与前置浮动保持在同一个级别位置上。
So in effect, such a cleared box cannot be at the same horizontal level as a PageRankeceding float.
请注意确认,浮动的屏幕开始点是由它所嵌套的位置决定的,之后它只是在容器盒上展开,就像绝对元素一项。
Sure, the float's screen starting point is determined by its nested location, but after that it just drapes over the containing box, as do absolute elements.
根据箭的数目,射程和发射位置的不同,射击率在7.2美元到28.8美元之间浮动。
Shooting rates vary between $7.2 to $28.8 according to the number of arrows, length of session and location.
磁头浮动块与磁盘盘面发生多次碰撞,碰撞位置可能在浮动块尾端,也可能在浮动块的前端。
The head disk collision can take place many times, whose locations may be at the trail of the slider or the front.
这样的效果是,一个被清理的盒无法与前置浮动保持在同一个水平位置上。
So in effect, such a cleared box cannot be at the same horizontal level as a preceding float.
浮动“从流程中被移除出来”,但是与绝对位置的元素(层次)不同,浮动是在他们前面的最后一个块元素之后直接被显示出来(就像块盒一样)。
Floats are "removed from the flow," but unlike absolutely positioned elements (layers), floats do get displayed directly after the last block element that precedes them (just like block boxes do).
浮动“从流程中被移除出来”,但是与绝对位置的元素(层次)不同,浮动是在他们前面的最后一个块元素之后直接被显示出来(就像块盒一样)。
Floats are "removed from the flow," but unlike absolutely positioned elements (layers), floats do get displayed directly after the last block element that precedes them (just like block boxes do).
应用推荐