October 26th, 2009 CSS, Code
原作者 Paul Andrew (Speckyboy 和 speckyboy@twitter).
原文:http://designreviver.com/tips/internet-explorer-resources-for-web-developers/
在开发者与设计者眼里没有比通过IE浏览网站更糟糕的事情了,随着IE8的到来,事情有所好转,但是仍然有大量的用户在使用IE6和IE7,请升级,立刻升级!!!
IE 仍然占有绝大部分的用户,所以,很遗憾,开发者和设计者还要和他相伴工作(我非常的扫瑞啊)。
今天,我们整理了一部分很好的资源,提示和备忘录来帮助您为IE做开发。

(more…)
This entry was posted
on Monday, October 26th, 2009 at 2:41 PM and is filed under CSS, Code.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
October 26th, 2009 CSS, jQuery, reMix
送给圆角的重度喜好者
经典方案 (css/jquery)
<script type=”text/javascript” src=”http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js”></script>
<script type=”text/javascript” src=”js/jquery.corners.js”></script>
<script type=”text/javascript”>
$(function(){
$(‘.box’).corners(’10px’);
});
</script>
<div>
<!–CONTENT–>
</div>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.corners.js"></script>
<script type="text/javascript">
$(function(){
$('.box').corners('10px');
});
</script>
<div>
<!--CONTENT-->
</div>
(more…)
This entry was posted
on Monday, October 26th, 2009 at 1:40 PM and is filed under CSS, jQuery, reMix.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
October 5th, 2009 CSS, Code, reMix
This entry was posted
on Monday, October 5th, 2009 at 9:07 AM and is filed under CSS, Code, reMix.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
August 14th, 2009 CSS, Code, Mixed
My Top 10 Most Used CSS Class Names
看到这篇文章以后,做下自己的整理。
在写css的过程中,Class的命名是非常重要的一项内同,简洁有语义的Class命名有利于代码的可读性。虽然伴随着HTML5的到来,会逐渐弱化,直接在HTML标签上进行简化和加强语义,但是这里还是有必要写一下。
class=”fixed”
这里是清除浮动的新写法,自动产生一个不显示的字符”.”,清除浮动,非常的实用。我自己使用class=”clearfix”
.fixed:after{
content:".";
display:block;
height:0;
clear:both;
visibility:hidden;
}
.fixed{
display:block;
}
/* \*/
.fixed{
min-height:1%;
}
* html .fixed{
height:1%;
} (more...)
This entry was posted
on Friday, August 14th, 2009 at 8:02 PM and is filed under CSS, Code, Mixed.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.