随笔分类 -  css

stylesheet
摘要:常用的 JavaScript 检测浏览器为 IE 是哪个版本的代码,包括是否是最人极端厌恶的 ie6 识别与检测。var isIE=!!window.ActiveXObject;var isIE6=isIE&&!window.XMLHttpRequest;var isIE8=isIE&&!!document.documentMode;var isIE7=isIE&&!isIE6&&!isIE8;if (isIE){if (isIE6){alert("ie6");}else if (isIE8){alert(&q 阅读全文
posted @ 2013-12-14 16:24 ishibin 阅读(215) 评论(0) 推荐(0)
摘要:出处:http://www.aiubug.com/?p=22demo:http://aiubug.com/wp-content/uploads/demo/input-file-style.html效果:HTML<form><a class="btn_addPic" href="javascript:void(0);"><span><em>+</em>添加图片</span><input class="filePrew" title="支持jpg、jp 阅读全文
posted @ 2013-01-15 15:14 ishibin 阅读(370) 评论(0) 推荐(0)
摘要:http://jquery.andreaseberhard.de/pngFix/一、下载所需文件下载jquery最新版本 http://www.jquery.com下载pngFix包http://files.cnblogs.com/ishibin/pngFix.zip二、在head标签之间加入代码<head> ... <script type="text/javascript" src="jquery-latest.pack.js"></script> <script type="text/javasc 阅读全文
posted @ 2012-08-04 23:56 ishibin 阅读(379) 评论(0) 推荐(0)
摘要:1.用ps制作一张宽度,高度都为1px的透明图片,保存到images/blank.gif2.用记事本创建一个文件命名为iepngfix.htc,代码如下:<public:component><public:attach event="onpropertychange" onevent="iePNGFix(0)" /><script type="text/javascript">// IE5.5+ PNG Alpha Fix v1.0// (c) 2004-2008 Angus Turnbull ht 阅读全文
posted @ 2011-09-22 15:07 ishibin 阅读(283) 评论(0) 推荐(0)
摘要:1 <div id="footer">2 <img src="templets/images/footlogo.gif" />3 <p>XXXX网 版权所有 Copyright @2009-2011 www.xxx.com All Rights Reserved. 4 <br />特别声明:本站医学信息仅供参考,转载本站文章请注明出处.</p>5 <div><div style="display:none;">hidden-解决IE6文字溢出</ 阅读全文
posted @ 2011-09-21 11:03 ishibin 阅读(338) 评论(0) 推荐(0)