随笔分类 -  html/css

该文被密码保护。
posted @ 2012-10-23 17:16 learn_javascript 阅读(1) 评论(0) 推荐(0)
摘要:1. 结构尽量简单,最好使用table布局可以保证在CSS样式失效、或者html被禁用的情况下最大程度的还原布局和样式。2. 不要使用<head>标签一般会被过滤掉。3. 不要使用JavaScript和Flash正常情况下这个是绝对被过滤的。。4. 使用内联CSS样式,不要引入外部CSS文件,不要使用<style>标签Gmail等不支持style标签。5. CSS禁忌:不要使用绝对定位,不要使用背景图片,不要使用半透明,不要使用IE滤镜和CSS表达式,不要使用CSS3属性……6. 图片要添加alt属性,保证在禁用图片的情况下传递有效信息7. 图片添加宽高属性8. 不要试 阅读全文
posted @ 2012-03-29 10:36 learn_javascript 阅读(622) 评论(0) 推荐(0)
摘要:方法1:.fixed { position: fixed; _position: absolute; _top: expression(eval(document.documentElement.scrollTop)); } html { _text-overflow:ellipsis; }方法2:.fixed{ position: fixed; _position: absolute; _top: expression(eval(document.documentE... 阅读全文
posted @ 2011-08-24 09:22 learn_javascript 阅读(284) 评论(0) 推荐(0)
摘要:原文:http://vesess.com/labs/forms-markup-and-css/写的不错 解决了我很多关于表单方面的疑惑Any web designer who’s played around with xhtml and css long enough will admit that forms, perhaps after tables, are the biggestPITAin our trade. They manage to hurtthe best of us, but so little seems to have been achieved on setting 阅读全文
posted @ 2011-01-12 15:44 learn_javascript 阅读(298) 评论(1) 推荐(0)