为达到最佳的视觉及浏览效果,请您使用Firefox或Opera来浏览本站!
IE/PC对CSS的解释总是未完全符合标准,解决方法可以是写两个CSS文件,然后加入以下代码调用:
<!--[if IE] > < link rel="stylesheet" href=" IE.css" media="screen" /> <![endif]-- >
CSS开发手册 撰写人:nilxin
基础篇:
一、三种样式选择器
属性选择器 p {color:red;}
类选择器 .p {color:red;}
ID选择器 #p {color:red;}
二、transparent
Background:transparent; 防止定义背景被覆盖
三、Netscape4.X(IE/WINDOWS4.0以前的版本)下错误的透明背景理解
Background:inhrit; 在net ...
一个日历的控件
Ten more CSS tricks you may not know
1. Block vs. inline level elements
Every HTML element is either a block or inline element. The characteristics of block elements include:
动态切换CSS样式, 实现换肤功能
IEBlog列出IE7所解决的CSS问题:
IE7终于公布,之前困扰住大部份网页设计师的CSS问题是否得到解决?随着WEB标准化的不断提倡,IE7是否解决了关于盒子等等的问题?
Shark 测试:IE7对CSS的支持
IE开发团队之前公布的几个改进倒都是做到了:Peekaboo Bug和Guillotine Bug已经被解决,带alpha通道的PNG图片也被支持 ...
CSS
<style type="text/css"><!-- #bg {width:400px;height:300px;background:url(leaf.gif) repeat;}#transbox {width: 300px;margin: 0 50px;background-color: #fff;filter:alpha(opacity=50);-moz-opacity:0.5;opacity: 0.5;< ...
Mozilla建议的CSS书写顺序:
mozilla.org Base Styles Suggested order: *///显示属性 display list-style position float clear //自身属性 width height margin padding border background //文本属性 color font text-decoration text-align
《CSS尺寸对照表》有了这个表,当你在设计CSS时,或者参考别人的CSS样式时,使用起来会更得心应手。