爱创课堂每日一题第五十四天- 列举IE 与其他浏览器不一样的特性?
2024-08-26 23:10:43
IE支持currentStyle,FIrefox使用getComputStyle
IE 使用innerText,Firefox使用textContent
滤镜方面:IE:filter:alpha(opacity= num);Firefox:-moz-opacity:num
事件方面:IE:attachEvent:火狐是addEventListener
鼠标位置:IE是event.clientX;火狐是event.pageX
IE使用event.srcElement;Firefox使用event.target
IE中消除list的原点仅需margin:0即可达到最终效果;FIrefox需要设置margin:0;padding:0以及list-style:none
CSS圆角:ie7以下不支持圆角
转载于:https://blog.51cto.com/12864747/1981904
最新文章
- ExtJS 中类的选项 - config
- BZOJ3607 : 数据网络
- Teach Yourself Programming in Ten Years
- SVG矢量图--爱心
- js数组排序
- 报错:Failed to create BuildConfig class
- C. Bits (Codeforces Round #276 (Div. 2) )
- 释放c盘空间
- java的字符串操作和for循环的使用
- 起步:Proteus 8 仿真 Arduino 1.8.2
- 【听RQY大佬“训话”有感】
- 学习Struts--Chap07:Struts2文件上传和下载
- readb(), readw(), readl(),writeb(), writew(), writel() 宏函数【转】
- 【LeetCode】203. Remove Linked List Elements
- U3D 场景切换时 脚本对象,GO对象,资源对象的问题
- 去除List中的重复元素
- ios 更改UITableview中Section的字体颜色
- Archlinux 下系统如何设置让 Wine 调用 ibus输入法
- parameter localparam define的区别
- 九度OJ 1194:八进制 (进制转换)
热门文章
- 字符串截取及切割,正则表达式,expect预期交互
- Shell:Day03笔记
- MVC分层设计
- 2059 - Authentication plugin 'caching_sha2_password' cannot be loaded dlope
- String 对象-->;substring() 方法
- Blazor WebAssembly 3.2.0 Preview 4 如期发布
- 内存对齐 align
- view事件分发源码理解
- 概率专题_概率/ 数学_基础题_ABEI
- svg 实践之屏幕坐标与svg元素坐标转换