Home >Web Front-end >HTML Tutorial >为何空间已经满了,元素还会插入?_html/css_WEB-ITnose

为何空间已经满了,元素还会插入?_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:26:341005browse








  
id="box-1"

  
id="box-2"

  
id="box-3"

  
 id= "box-4"





为何box4会插入到box1 box2 box3 里面去?已经没有位置了哈?


回复讨论(解决方案)

你前三个 float:left;浮动了,不占位置

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn