js html

1、dom


文档对象document


2、bom


浏览器对象

window

Screen


History


3、根据浏览器设置样式

$(document).ready(function(){
                if (navigator.userAgent.indexOf("MSIE")>0){
                        $("#next .img-switch-btn").css("left","90%");
                        $("#prev .img-switch-btn").css("filter","");
                        $("#prev .img-switch-btn").css("background","url('http://img1.bdstatic.com/static/detailnew/img/slider_btn_icon_0624374.png') no-repeat 0 -80px");
                    }
                })



4、实现常用效果的方式


。。。


5、CSS(层叠样式表)


标签装饰


选择方式()


  


<style>

p{

}


p.class1{

}


.class2{


}


#id1{



}


p,h1{


}


p h1{



}

</style>

...



posted on 2015-05-26 00:10  _故乡的原风景  阅读(129)  评论(0编辑  收藏  举报