float浮动技术
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>cssl.html</title>
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="this is my page">
<meta http-equiv="content-type" content="text/html; charset=GB18030">
<!--<link rel="stylesheet" type="text/css" href="./styles.css">-->
</head>
<style>
#father{
background-color: #cc99ff;
margin-left:5px;
margin-top:5px;
}
#son1{
float:left;
}
#son3{
float:left;
}
#son2{
float:left;
}
</style>
<body>
<div id="father">
<div id="son1">aaaaa</div>
<div id="son2">bbbbb</div>
<div id="son3">ccccc</div>
</div> <br>
</body>
</html>
position技术
相对定位
主要用于照片签名