加入收藏 | 设为首页 | 会员中心 | 我要投稿 济南站长网 (https://www.0531zz.com/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 运营中心 > 网站设计 > 教程 > 正文

visual formatting model (可视化格式模型)【持续修正】

发布时间:2016-11-04 18:42:39 所属栏目:教程 来源:站长网
导读:副标题#e# The CSSvisual formatting modelis an algorithm that processes a document and displays it on visual media. 它是一种规则,用于规定用户代理如何将DOM树展示在可视化媒体中。 通俗的说,我们在HTML中写一个p标签,在浏览器中打开之后,他会是

 

  • A floated box is shifted to the left or right until its outer edge touches the containing block edge or the outer edge of another float.
  • If there is not enough horizontal room for the float, it is shifted downward until either it fits or there are no more floats present.
  • Since a float is not in the flow, non-positioned block boxes created before and after the float box flow vertically as if the float did not exist.
  • the current and subsequent line boxes created next to the float are shortened as necessary to make room for the margin box of the float.

 浮动的框不在流内,它会尽量去靠左(右),直到外边缘碰到包含框的边缘或是另一个浮动框的边缘。

 在流内的块框会当做浮动不存在一样垂直排列。

 行盒会缩短,给浮动框留出足够的位置。这就意味着,文字是会环绕在左浮动框的右侧的。

visual formatting model (可视化格式模型)【持续修正】   visual formatting model (可视化格式模型)【持续修正】

 

(编辑:济南站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

热点阅读