15
2012
10

文本框背景

用户姓名:<input style="background-image: url('images/login_bg.gif')"maxLength=16 name=username size=12>

15
2012
10

双击鼠标滚屏

<html><script language="JavaScript" type="text/JavaScript">//双击鼠标滚动屏幕的代码var currentpos,timer;function initialize(){timer=setInterval ("scrollwindow ()",30);}f

15
2012
10

鼠标控制滚动

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml&quo

15
2012
10

好玩的样式—放大效果

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><he

15
2012
10

弹出菜单样式1

<table width="164" border="0" cellpadding="0" cellspacing="1" bgcolor="#ADADAD">    <tr>      <

15
2012
10

输入框的事件

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml&quo

15
2012
10

顶部跟随屏幕滚动而动的代码

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd"><HTML xmlns="http://www.w3.org/1999/xhtml&q

13
2012
07

div+css实现圆角

<html> <head> <title>css圆角效果</title> <meta http-equiv="content-type" content="text/html; charset=gb2312"> <style type="text/css"> div.

13
2012
07

CSS div 始终在最底部

========================CSS===============================

/* CSS Document */

* { margin:0; padding:0; }   

html, body, #wrap { height: 100%; }  
  
body > #wrap {height: auto; min-height: 100%;}  
...

13
2012
07

IE6透明的代码

  1. <style>  
  2. h1 span {   
  3.   background:none;   
  4. ...