#maillist,#register .toemail iframe { -moz-border-colors:none; background:none repeat scroll 0 0 #fff; border-color:-moz-use-text-color #ccc #ccc; border-right:1px solid #ccc; border-style:none solid solid; border-width:0 1px 1px; display:none; left:0; position:absolute; top:31px; width:12.5%; z-index:999; left:141px; font-size:12px; overflow-x:hidden; } #maillist ul { margin-top:5px; margin-left:-35px; } #maillist ul li { color:#666; cursor:pointer; list-style:none; } #maillist ul li:hover { color:#999; } input { width:12.5%; }
这是js+html+css写的简单邮箱补全功能代码,若有不懂的可以扣我,谢谢支持!