VML need hasLayout
来源:互联网 发布:mac os x 10.13 界面 编辑:程序博客网 时间:2024/05/21 11:07
I happened to modify a page in last week, add <!DOCTYPE html> to make it CSS1Compat, and got a suprise: some vml graphics are missed.
I guessed it's due to hasLayout, as I understand, only element which hasLayout has chance to decide how to paint themselves, and vml is somehow like filter, must be processed by some special components, so they must hasLayout.
And after some test, I confirmed my idea.
VML elements are all inline by default, In CSS1Compat mode, inline element won't get layout via width or height, we need to add zoom:1, or display:block, or display:inline-block, or position:absolute.
Note: I just test IE6, no test on IE7.
- VML need hasLayout
- haslayout
- haslayout
- hasLayout
- haslayout
- hasLayout
- hasLayout
- hasLayOut
- vml
- vml
- VML
- vml
- vml
- VML
- VML
- vml
- vml
- need
- ASP.NET 2.0移动开发之属性重写和模板化
- Ghost 使用详解
- 设置区域设置的日期格式
- Where C and C++ Differ
- 使用TreeViewer取代TableTreeViewer
- VML need hasLayout
- 从表的第几条取到第几条记录
- Eclipse RCP程序发布后提示找不到application id的问题和解决方法
- C++知识点
- Unicode: What You Can Do About It Today
- 在 JScript 中释放内存、批量加载问题及其他
- 在asp.net添加数据到XML里去
- SQLServer和Oracle常用函数对比
- C# 中声明变量时,少了访问限定修饰符