http://www.techbang.com/posts/3928-moving-a-label-is-working-on-mobile-version-of-website
http://www.minwt.com/mobilewebdesign/2529.html
http://www.ibest.com.tw/news/ins.php?index_id=68&index_m_id=0[……]
PHP 使用 glob 搜尋所有檔案路徑
轉自
http://liaosankai.pixnet.net/blog/post/29021189-%E4%BD%BF%E7%94%A8-glob-%E6%90%9C%E5%B0%8B%E6%89%80%E6%9C%89%E6%AA%94%E6%A1%88%E8%B7%AF%E5%BE%91[……]
愛??
jQuery radiobox Selected 設定選取
$(“input[name=’sex’][type=’radio’][value=’1′]”).attr(“checked”,”); //設定不打勾
$(“input[name=’sex’][type=’radio’][value=’0′]”).attr(“checked”,true); //設定打勾[……]
jQuery Selector input type and name 選取器,選取標籤多屬性,如type&name
選取器,選取標籤多屬性,如type&name
可用於選取姓別的radiobox
if(sex==1){
$(“input[name=’sex’][type=’radio’][value=’1′]”).attr(“checked”,true);
}else{
$(“input[name=’sex’][type=’radio’][value=’0′]”).attr(“checked”,true);
}
相關網址
http://stackoverflow.com/questions/3221094/target-input-by-type-and-name-selector[……]
責任
PHP big5轉utf8不要用iconv(),iconv這個函數,用mb_convert_encoding
不要以為big5轉utf8就用iconv()這麼簡單
big5有很多字是沒有收錄的:
測試:
用法:
原文出自:
[……]
CSS em標籤失效 em,strong,em tag not working
我們習慣在CSS編寫前引入reset.css來重設所有標籤的預設樣式,
但引入reset.css後,透過編輯器如CKEditor,可能產生斜體<em>標籤,
此時<em>標籤便失去原本html應該會呈現的斜體,另外粗體<b>..等,也會有此現象,
解決方法在引入reset.css後加入下面兩行CSS,問題解決
strong, b, strong *, b * { font-weight: bold !important; }
em, i, em *, i * { font-style: italic !important; }
[……]
CSS 項目符號
list-style-type:none; 《不編號》
list-style-type:decimal; 《阿拉伯數字》
list-style-type:lower-roman; 《小寫羅馬數字》
list-style-type:upper-roman; 《大寫羅馬數字》
list-style-type:lower-alpha; 《小寫英文字母》
list-style-type:upper-alpha; 《大寫英文字母》
list-style-type:disc; 《實心圓形符號》
list-style-type:circle; 《空心圓形符號》
list-style-type:square; 《實心方形符號》
list-style-image:url(dot.gif); 《圖片式符號》
list-style-position:outside; 《凸排》
list-style-position:inside; 《縮排》
[……]
CSS 英文換行斷字,讓文字靠齊左右邊界
.text{
word-wrap: break-word;
word-break: break-all;
}
原文及圖片出處:http://www.minwt.com/css/93.html[……]