FE
文章平均质量分 74
frontend
这个作者很懒,什么都没留下…
展开
-
前端浏览器兼容新方案
js判断浏览器并返回缩写,把缩写作为类名加到的class里,css里以缩写类区分样式No CSS Hack,No Conditional Comments,单个CSS文件,调试维护都方便原创 2010-07-23 14:38:00 · 472 阅读 · 0 评论 -
聚焦时隐藏默认文字的文本框(Always or Once)
<br /><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <原创 2010-11-11 09:45:00 · 424 阅读 · 0 评论 -
一种合理而灵活的DL布局
兼容IE6/7/8,FF原创 2010-10-16 17:42:00 · 530 阅读 · 0 评论 -
Understanding IE8 Compatibility View
Understanding IE8 Compatibility ViewBefore displaying a standards-mode Web page, Internet Explorer 8 checks to see if the domain name of the Web site appears in the Compatibility View List. If so, the site is displayed using Compatibility View. If not, and转载 2010-10-15 17:43:00 · 694 阅读 · 0 评论 -
图片垂直居中的妙法[兼容]
<br /><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><br /><html><head><title></title><br /><style type="text/css"><br />div { border:1px solid #000; width:300px; height:300px; text-转载 2010-10-13 15:48:00 · 321 阅读 · 0 评论 -
环境
<br />写代码用Editplus +自动完成<br />根据自己的习惯和喜好, 自制自动完成文件, 并在工作中及时的不断的丰富和修正, 尽量最简化常用书写. 爽!<br />用 ^! 设置自动完成后光标的位置, 更加提高效率. 举例:<br />w=width:^!px;<br />bg=background:transparent url(^!) left top no-repeat; <br />!=!important<br />ver=verdana<br />dc=<div class="^!原创 2010-10-08 17:00:00 · 300 阅读 · 0 评论 -
IE8 底部补丁无效Bug 解决方法
IE8 在下面这种情况有个底部补丁无效的Bug原创 2010-08-12 10:56:00 · 490 阅读 · 0 评论 -
关于JS和CSS文件后面的参数
1. 脚本由服务端动态生成的, 因此带了个版本号以示区别 2. 使得客户端浏览器重新下载新的js或css文件, 而不是读缓存转载 2010-07-23 14:33:00 · 279 阅读 · 0 评论 -
透明度圆角盒子
透明度圆角盒子body { background:transparent url(http://imgsrc.baidu.com/forum/pic/item/c9f081cb192c9ae153664f59.jpg) center top no-repeat; padding:原创 2011-07-20 10:13:05 · 348 阅读 · 0 评论