附上HTML代码
leftwindow #baseInfoManager{ width:180px; height:100px; }#baseInfoManager p{ height:30px; text-indent:20px; }#baseInfoManager p a{ display:block; height:100%; width:100%; text-decoration:none; line-height:30px; font-family:Arial, Helvetica, sans-serif; font-size:12px;}#baseInfoManager p a:hover{ height:100%; width:100%; color:#000; text-decoration:none; background:#dce7f0;}#baseInfoManager ul{ margin-top:1px; width:100%; height:100%;}#baseInfoManager ul li{ width:180px; height:30px; list-style:none; line-height:30px; text-indent:40px; }#baseInfoManager ul li a{ float:left; width:180px; height:30px; text-decoration:none; font-family:Arial, Helvetica, sans-serif; font-size:12px; }#baseInfoManager ul li a:hover{ width:180px; height:30px; color:#000; text-decoration:none; background:#dce7f0;} window.onload=function() { var obtn=document.getElementById('btn'); var oul=document.getElementById('ul1'); obtn.onclick=function() { if(oul.style.display=='block') { oul.style.display='none'; } else { oul.style.display='block'; } } };
用户管理
aaa bbb系统管理
ccc ddd查看更多关于一级目录之间怎么有那么大的空隙?_html/css_WEB-ITnose的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://www.haodehen.cn/did106811