读书人

两个DIV的相对位置(右下角)

发布时间: 2012-10-08 19:54:56 作者: rapoo

两个DIV的相对位置(右上角)
HTML代码如下:

<html> <head>  <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body>  <div id=shihuan style="position:absolute; left:220px; top:104px; width:157px; height:29px;; overflow:visible;">   <span style="position:absolute; left:0px; top:0px; width:156px; height:28px;">    <img style="width:156px; height:28px;" src="shihuan/selecttp.png" border="0" alt="两个DIV的相对位置(右下角)">   </span>  </div>  <div id=shihuanann style="font-size:1px; position:absolute; left:367px; top:100px; width:1px; height:1px; overflow:visible;">   <img style="width:16px; height:16px; cursor:help;" src="shihuan/note.gif" border="0" alt="两个DIV的相对位置(右下角)">  </div> </body></html>

读书人网 >Web前端

热点推荐