<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" > |
<html> |
<head> |
<title>漂浮演示</title> |
<!-- style type= "text/css" > |
div{ |
border : 1px solid blue ; |
width : 200px ; |
height : 100px ; |
} |
.one{ |
float : right ; |
} |
.two{ |
float : left ; |
} |
|
|
</style --> |
<style type= "text/css" > |
div{ |
border : 1px solid blue ; |
width : 200px ; |
height : 100px ; |
} |
.one{ |
float : left ; |
} |
.two{ |
clear : both ; |
} |
|
|
</style> |
</head> |
<body> |
<div class= "one" > |
DIV中的数据 111 |
</div> |
<div class= "two" > |
DIV中的数据 222 |
</div> |
<div class= "three" > |
DIV中的数据 333 |
</div> |
</body> |
</html> |
by: 发表于:2017-11-22 14:54:01 顶(0) | 踩(0) 回复
??
回复评论