易截截图软件、单文件、免安装、纯绿色、仅160KB

CSS实现frameset

首先是HTML代码:
<div id="outer">
  <div id="leftFrame" style="width: 20%;">
    <div style="height: 30%" id="packageListFrame" title="All Packages" >
      Package list goes here
     </div>
    <div style="height: 70%" id="packageFrame" title="All classes and interfaces (except non-static nested types)" >
      Class list goes here
    </div>
  </div>
  <div style="width: 80%;" id="classFrame" title="Package, class and interface descriptions">
   Summary details go here
  </div>
</div>
添加如下样式:
<style type="text/css">
#outer { position: relative; }
#leftFrame {
  position: fixed;
  height: 100%;
  width: 20%;
  top: 0;
}
#classFrame {
  position: absolute;
  left: 21%;
  width: 77%;
}
#packageListFrame{
  position: static;
  height: 200px;
  overflow: scroll; }
#packageFrame {
  position: static;
  height: 70%;
  overflow: scroll;
}
 
</style>


相关文档:

超级无敌各种浏览器css hack

.styleName{
color
:
#FFF
;
/* FF,OP,IE8 */
[
;
color:
#0F0
;
]
/* Sa,CH */
*
color
:
#FF0
;
/* IE7 */
_color:
#F00
;
/* IE6 */
}
.styleName{
background-color
:
#332200
;
/* FF*/
}
html*
.styleName{
background-color
:
#FF00FF
;
/* Sa IE7 CH */
}
*+
html .style ......

css選擇符大雜燴

 
类型选择符:单指元素的名字,而没有大于号和小于号
类选择符:选择所有赋有相同类的元素 一个点号后面跟类名,类选择符要跟着类名的后面。 可以把加在通配符*的后面来选择文档中所有赋予该类的元素,
Id 选择符
 
群组选择符:多个选择符用逗号连起来
后代选择符:多个选择符用空白连起来
子选择符:多 ......

CSS的边界重叠规则

In this specification, the expression collapsing margins means that adjoining margins (no non-empty content, padding or border areas or clearance separate them) of two or more boxes (which may be next to one another or nested) combine to form a single margin.
In CSS 2.1, horizontal margins ne ......

css实现网页背景渐变


用css实现网页背景渐变的代码如下:
一、从上往下渐变
Example Source Code [www.mb5u.com]
body{
FILTER: progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#ffffff,endColorStr=#000000);
}
二、从左上至右下渐变
Example Source Code [www.mb5u.com]
body{
FILTER: Alpha( style=1, ......

CSS定义Scroll滚动条样式。

 scrollbar-face-color: #000000;
 scrollbar-shadow-color: #FFC300;
 scrollbar-highlight-color: #000000;
 scrollbar-3dlight-color: #FFC300;
 scrollbar-darkshadow-color: #000000;
 scrollbar-track-color: #000000;
 scrollbar-arrow-color: #FFC300;
如果使用Dw或者其 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号