<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01//EN”>
<html>
<head>
<title>Universal vertical center with CSS</title>
<style>
.greenBorder {border: 1px solid green;} /* just borders to see it */
</style>
</head>
<body>
<div style=”display:  	table; height: 400px; #position:  	relative; overflow: hidden;“>
<div style=” #position: absolute; #top: 50%;display: table-cell; vertical-align: middle;“>
<div style=” #position: relative; #top: -50%“>
any text<br>
any height<br>
any content, for example generated from DB<br>
everything is vertically centered
</div>
</div>
</div>
</body>
</html>
				
					CSS
					CSS, Vertical center
				
				
			 
		 
			
			
			
			
				如果iphone jailbreak, iphone開ssh, 就可以用WIN SCP程式 透過wifi 進入你iphone內, 就看到iphone內的folder
12226WIN
				
					Software
					Iphone
				
				
			 
		 
			
			
			
			
				
| Perl | time | 
| PHP | time() | 
| Ruby | Time.now(orTime.new). To display the epoch:Time.now.to_i | 
| Python | import timefirst, thentime.time() | 
| Java | long epoch = System.currentTimeMillis()/1000; | 
| Microsoft .NET C# | epoch = (DateTime.Now.ToUniversalTime().Ticks - 621355968000000000) / 10000000; | 
| VBScript/ASP | DateDiff("s", "01/01/1970 00:00:00", Now()) | 
| Erlang | calendar:datetime_to_gregorian_seconds(calendar:now_to_universal_time( now()))-719528*24*3600. | 
| MySQL | SELECT unix_timestamp(now()) | 
| PostgreSQL | SELECT extract(epoch FROM now()); | 
| Oracle PL/SQL | SELECT (SYSDATE - TO_DATE('01-01-1970 00:00:00', 'DD-MM-YYYY HH24:MI:SS')) *24 * 60 * 60 FROM DUAL
 | 
| SQL Server | SELECT DATEDIFF(s, '1970-01-01 00:00:00', GETUTCDATE()) | 
| JavaScript | Math.round(new Date().getTime()/1000.0)getTime() returns time in milliseconds. | 
| Unix/Linux | date +%s | 
| Other OS’s | Command line: perl -e "print time"(If Perl is installed on your system) | 
 
				
					Program
					asp, c#, current time, erlang, java, javascript, Linux, mysql, oracle, perl, php, postgreSQL, python, rudy, SQL Server, timestamp, Unix
				
				
			 
		 
			
			
			
			
				在IE顯示下正常會左右出現一些空白, 只要加以下css, 就會和firefox一樣顯示button的闊度
overflow:visible;
				
					CSS
					button, CSS