摘要:
显示这一礼拜的日期html: 日 一 二 三 四 五 ... 阅读全文
摘要:
写CSS时的顺序下表顺序为从上到下,从左到右:========================display || visibilitylist-style : list-style-type || list-style-position || list-style-imagepositiontop || right || bottom || leftz-indexclearfloatwidthmax-width || min-widthheightmax-height || min-heightoverflow || clipmargin : margin-top || margin-rig 阅读全文
摘要:
HTML<div class="main"> <div class="cont" id="abc"> 我出来了! </div> <div class="btn"> <input type="button" id="btn" value="点击我可以显示内容" /> </div></div>CSS.cont{display:none;}JS<script type=&q 阅读全文
摘要:
利用position 来改变top的值, 阅读全文
摘要:
CSSbody { cursor:default; -webkit-text-size-adjust:none; font-size:12px; font-family:Arial; background:#FFF; line-height:50px; }.clear { zoom:1; }.clear:after { visibility:hidden; display:block; font-size:0; content:"1"; clear:both; height:0; }.main { width:500px; margin:0 auto; }.ibanner_ 阅读全文
摘要:
HTML<div class="main"> <input name="" type="checkbox" value="" checked="checked" /> <input name="" type="checkbox" value="" checked="checked" /> <input name="" type="checkbox 阅读全文
摘要:
JS:$(".con").eq(0).show(); $(".btn span").click(function(){ var num =$(".btn span").index(this); $(".con").hide(); $(".con").eq(num).show().slblings().hide(); })CSS: body { cursor:default; -webkit-text-size-adjust:none; font-size:12px; font-family:Ar 阅读全文