关于浮动模型
为什么这两个栏目是竖着显示的,而不是横着显示?
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>浮动模型</title> <style type="text/css"> div{ border:2px red solid; width:200px; height:400px; float:left; } </style> </head> <body> <div id="div1">栏目1</div> <div id="div2">栏目2</div> </body> </html>