原创 CSS3學習筆記3-多列/多卷
/* 多列/多卷 */ #multiColumnWidth { text-align: justify;/*文字兩段對齊*/ -moz-column-width: 20em;/*每列寬度:Firefox*/ -moz-column-g
原创 MySQL學習筆記5:修改表(alter table)
本文原址:http://www.jb51.net/article/32955.htm 我們在創建表的過程中難免會考慮不周,因此後期會修改表修改表需要用到alter table語句 修改表名 mysql> alter table st
原创 CSS3實例學習3-模塊變大
1、html5代碼比較簡單: <section class="module_change"> <ul> <li><section>1</section></li> <li><
原创 CSS3實例學習1-搜索框
1、html5代碼如下: <section class="topseacher"> <input type="text" id="searchinput" name="s" class="searchinput" placeholder
原创 CSS3實例學習2-tab
製作tab選擇欄,原理就是使用radio作爲標籤,因爲每次只能選擇一個,所以和tab效果一樣。 1、html5代碼如下: <section class="radiotabs"> <input type="radio
原创 windows tomcat配置大全[詳細]
原文地址:http://www.jb51.net/article/16401.htm Tomcat下JSP、Servlet和JavaBean環境的配置 經常看到jsp的初學者問tomcat下如何配置jsp、servlet和bean的問題,
原创 css3的一個垂直居中
.center{ position: absolute; top: -webkit-calc(50% - 125px); l
原创 CSS3學習筆記5-rgbal
/* rgbal */ div.rgbaL1 { background:rgba(153, 134, 117, 0.2); /*背景:紅、綠、藍、透明度*/ width:575px;/*寬度*/ height:20px; /*高度*/
原创 CSS3學習筆記4-透明度
/* 透明度 */ div.opacityL1 { background:#036;/*背景顏色*/ opacity:0.2; /*透明度*/ width:575px;/*寬度*/ height:20px;/*高度*/ } div.
原创 判斷session是否有效
本文鏈接:http://www.cxybl.com/html/wlbc/Php/20120607/28693.html 在以前的php 版本中,要判斷session是否有效,只能用如下的方法: session_start();if(iss
原创 Layout with CSS3(翻譯)
本章包含: 。inline-block和table在css2上的顯示效果。 。calc和box-sizing屬性讓css2佈局更具可管理性。 。Media queries爲不同設備定製不同的css樣式。 。新的css3佈局模塊: 許多人對
原创 CSS3學習筆記2-背景圖片(背景大小和多背景圖)
/* 背景圖片 */ #backgroundSize{ border: 5px solid #bd9ec4;/*邊框樣式*/ background:url(image_1.extention) bottom right no-repea
原创 php獲得ip地址
原文地址:http://www.cnblogs.com/binaryworms/articles/1947032.html 方法一: <?php function GetIP(){ if(!empty($_SERVER["HTTP_
原创 php動態生成圖片
轉載自:http://www.mofei.com.cn/h/460905.shtml,感謝原作者的辛苦工作。 //建立圖像 $height = 200;$width =200;$im = imagecreate($width,$heigh
原创 PHP-MYSQL中datetime類型轉換
在mysql中設置的datetime類型使用php中日期進行操作的時候總會提示類型轉換錯誤,因爲在mysql中datetime實際就是string類型,所以應該這樣轉換時間(例中獲取的是當前時間): date('Y-m-d H:i:s',