沙頭角首頁深圳之家---Sha Tau Kok Yan Tian
分页: 2/135 第一页 上页 1 2 3 4 5 6 7 8 9 10 下页 最后页 [ 显示模式: 摘要 | 列表 ]
2010/07/01 10:38
<!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">
<head>  
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />  
<meta name="author" content="Chomo" />  
<title>根据内容宽度、高度自适应,垂直水平居中,内容高度超过窗体时,垂直居顶</title>  
<style type="text/css">  
* { margin:0; padding:0; list-style:none; font-size:14px;}/*---该css reset仅用于demo,请自行换成适合您自己的css reset---*/
html { height:100%;}   body { height:100%; text-align:center;}  
.centerDiv { display:inline-block; zoom:1; *display:inline; vertical-align:middle; text-align:left; width:200px; padding:10px; border:1px solid #f60; background:#fc0;}
.hiddenDiv { height:100%; overflow:hidden; display:inline-block; width:1px; overflow:hidden; margin-left:-1px; zoom:1; *display:inline; *margin-top:-1px; _margin-top:0; vertical-align:middle;}  
</style>
</head>
<body>    
<div class="centerDiv">   蓝色理想<br/>  </div>
<div class="hiddenDiv"></div>
</body>
</html>
2010/06/29 14:17
让页面中的多个DIV自由水平居中排列,自适应网页宽度,支持相对宽度,缩小浏览器窗口后它也会跟着重新居中排列,很实用的CSS布局实例,经常从事WEB前端设计的朋友经常会用得到。
2010/06/04 14:47
Tags: ,
打开命令窗口

执行cd \inetpub\adminscripts

执行cscript adsutil.vbs set w3svc/MaxConnections 100

执行iisreset


2010/05/25 15:11
Tags:
jquery
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>


jquery UI
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/jquery-ui.min.js"></script>


Chrome Frame
<script src="http://ajax.googleapis.com/ajax/libs/chrome-frame/1.0.2/CFInstall.min.js"></script>


swfobject
<script src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>


mootools
<script src="http://ajax.googleapis.com/ajax/libs/mootools/1.2.4/mootools-yui-compressed.js"></script>


Yahoo! UI
<script src="http://ajax.googleapis.com/ajax/libs/yui/2.8.1/build/yuiloader/yuiloader-min.js"></script>


Prototype
<script src="http://ajax.googleapis.com/ajax/libs/prototype/1.6.1.0/prototype.js"></script>


Ext.JS
<script src="http://ajax.googleapis.com/ajax/libs/ext-core/3.1.0/ext-core.js"></script>


Dojo
<script src="http://ajax.googleapis.com/ajax/libs/dojo/1.4.3/dojo/dojo.xd.js"></script>


Scriptaculous
<script src="http://ajax.googleapis.com/ajax/libs/scriptaculous/1.8.3/scriptaculous.js"></script>
2010/05/12 09:23
Tags:
用Dreamweaver的朋友很多会遇到Dreamweaver的JS出错的情况,其中最多的便是保存时的onLoad错误。
最近在使用Dreaweaver cs5时出现的提示框,“在onLoad运行design notes_onopen.htm时,发生了一个JavaScript的错误”


原因很多,最有可能的便是Configuration内的JS脚本损坏,一般人会建议重新安装Dreamweaver,其实根本不用重装那么麻烦。此方法对于所有版本Dreamweaver都有效。
1.首先退出DW,
2.打开C:\Documents and Settings\用户名\Application Data\Adobe\Macromedia\Dreamweaver CS5(其它版本的应该也是一样吧)\

3.重命名Configuration,随便给取个名字例如Configuration_1;
4.重新启动Dreamweaver,怎么样?问题解决了吧~

分页: 2/135 第一页 上页 1 2 3 4 5 6 7 8 9 10 下页 最后页 [ 显示模式: 摘要 | 列表 ]