Bookmark: HemiDemi MyShare Baidu Google Bookmarks Yahoo! My Web Del.icio.us Digg technorati furl Bookmark to:YouPush Bookmark to:你推我報

 

 
語法框語法<textarea>常用的幾個參數
 
基本型(無參數)
語法 <textarea>內容</textarea>
預覽
 
加上列數/寬(cols)& 行數/高(rows)
語法 <textarea cols="50" rows="3">內容</textarea>
* 數字大小請自選 *
預覽
 
改變內容字體的大小
語法 <textarea cols="50" rows="3" style="font-size:9px">內容</textarea>
*?px -> 字體大小請自選 *
預覽
 
按下滑鼠左鍵自動反白
語法 <textarea cols="50" rows="3" style="font-size:9px" onfocus="this.select()">內容</textarea>
預覽
 
滑鼠靠近自動反白
語法 <textarea cols="50" rows="3" style="font-size: 9px;" onfocus="this.select()" onmouseover="this.focus()">內容</textarea>
預覽
 
取消捲軸
語法 <textarea cols="50" rows="3" onfocus="this.select()" onmouseover="this.focus()" style="font-size: 9px; overflow:hidden">內容</textarea>
預覽
 
取消或更改邊框寬度、樣式
語法 <textarea cols="50" rows="3" onfocus="this.select()" onmouseover="this.focus()" style="font-size: 9px; overflow:hidden; border:0">內容</textarea>
* 取消邊框:style="border:0" *
* 邊框寬度:style="border:?px 樣式"(? -> 任意數字)*
*邊框樣式:
solid(實線)、dashed(虛線)、double(雙線)、dotted(點線)、
groove(立體內凸框)、ridge(立體浮凸框)、inset(凹框)、outset(凸框)*
預覽
 
更改背景(background-color)、邊框顏色(border-color)
語法 <textarea cols="50" rows="3" onfocus="this.select()" onmouseover="this.focus()" style="font-size: 9px; overflow:hidden; background-color:#FEFF91; border:5px solid; border-color:#73FF75">內容</textarea>
* 背景:style="background-color:#FEFF91" *
* 邊框:style="border:5px solid; border-color:#73FF75"(border必須大於0px)*
預覽
 
備註 一、在語法框內按下CTRL-A即可全選。
二、查詢色碼可至「這裡」查詢。

 


Posted by tzoyiing at 痞客邦 PIXNET Comments(3) Trackback(0) Hits(1830)

open trackbacks list Trackbacks (0)

Comments (3)

Post Comment
  • 請問這篇文章可以引用嗎?
    我找了好久的說
  • 沒有問題 ^^

    tzoyiingreplied on 2009/01/04 19:46

  • 謝謝!
    想請教你一個問題
    請問這個語法是適用於哪個部落格?
    因為我的是YAHOO!奇摩部落格
    在編寫文章內可以顯示出來
    但是按下發表後,出來卻是一排語法
    這是為什麼?
  • textarea 算是html語法
    您要先勾選「觀看HTML 原始碼」才可以直接編輯html語法
    剛企鵝去奇摩發文測試…竟然沒支援…奇摩也太@#$了吧…汗

    tzoyiingreplied on 2009/01/05 13:17

  • 喔喔@@!
    很不錯的語法,可以節省空間,棒!
    謝謝你的資訊提供^^

Comment Permissions: Allow commenting

Leave Comment

*Name/Nickname
E-mail
Personal Website
Comment Title
*Comment
* Private Comment