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

css div 鼠标经过时图片变大

<style>
#enlarge {padding:0; margin:2em auto; list-style-type:none; width:240px;
height:40px;}
#enlarge li {display:block; float:left; width:40px; height:40px;
position:relative;}
#enlarge li a {display:block; width:40px; height:40px; background:transparent;
overflow:hidden; position:relative;}
#enlarge li a img {width:100%; height:100%; border:0;}
#enlarge li a:hover {position:absolute; left:-20px; top:-20px; width:80px;
height:80px; z-index:100;}
#div1 .div2
{
    float:left; width:40px; height:40px; position:relative;
}
#div1 .div2 a {display:block; width:40px; height:40px; background:transparent;
overflow:hidden; position:relative;}
#div1 .div2 a img {width:100%; height:100%; border:0;}
#div1 .div2 a:hover {position:absolute; left:-20px; top:-20px; width:80px;
height:80px; z-index:100;}
</style>
<ul id="enlarge">
<li><a href="#one"><img src="http://www.dzwindows.com/images12_13/logo.png" alt="image 1"
title="image 1" />Image 1</a></li>
</ul>
<div id="div1">
    <div class="div2">
      <a href="#">
    <img src="http://www.dzwindows.com/images12_13/logo.png" alt="image 1"
title="image 1" />
      </a>
   </div>
</div>


相关文档:

我写div+css过程

这是原先我写的 备忘的 尽管写的很烂
frame.css
Java代码
CHARSET "UTF-八";
html,body{
margin: 零px;
padding: 零px;
height: 100%;
/*font-size: 12px;
color: #666666;
background: #ffffff;*/
}
*{
margin: 零px;
padding: 零px;
}
/*由于用了相对位置格局,应分辨率太大时,图片和文 ......

CSS滑动门横向菜单栏

效果如下:
              
实现方法:利用一下两张图片:                
前台代码:
 <div id="nagivation">
    &nb ......

CSS选择器

一些新手朋友对选择器一知半解,不知道在什么情况下运用什么样的选择器,这是一个比较头疼的问题,针对新手朋友,对CSS选择器作一些简单的说明,希望能对大家的学习工作有一定的帮助,更多的CSS知识请参考Webjx.com的其他文章。
准确而简洁的运用CSS选择器会达到非常好的效果。我们不必通篇给每一个元素定义类(class)或 ......

10个非常有用的CSS技巧


1. 将网页或元素居中       
      
    
HTML:
<div class="wrap">  
</div><!-- end wrap -->  
CSS:
.wrap { width:960px; margin:0 auto;}   ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号