当前位置:Gxlcms > html代码 > html块之间换行_html/css_WEB-ITnose

html块之间换行_html/css_WEB-ITnose

时间:2021-07-01 10:21:17 帮助过:18人阅读

Content goes here

初学html,不知道问的问题是不是很小白……
这里我想知道id为footer的块为什么自动换行了?
Main Tittle of Web Page是第一行,main和content在第二行,footer为什么自动换到第三行去了(我在值里加上了float:left;变量)?


回复讨论(解决方案)


clear:both;
删除


clear:both;
删除
跪了,我怎么没试这个呢…谢谢红钻大哥。

人气教程排行