div显示提示信息
<body> <style type="text/css"> a.link{position:relative;} a.link div.tips{ border:1px solid #333; padding:10px; background-color:#ff0; position:absolute; top:16px; left:0px; display:none; } a.link:hover{} a.link:hover div.tips{ display:inline; } </style> <a href="#" class="link"> <div class="tips">i am tips.</div> </a> </body>