1. 程式人生 > >邊框背景 位置 如下

邊框背景 位置 如下

 1 二、CSS邊框空白
 2 padding-top:10px; /*上邊框留空白*/ 
 3 padding-right:10px; /*右邊框留空白*/ 
 4 padding-bottom:10px; /*下邊框留空白*/ 
 5 padding-left:10px; /*左邊框留空白
 6 三、CSS符號屬性:
 7 list-style-type:disc; /*實心圓形符號*/ 
 8 list-style-type:circle; /*空心圓形符號*/ 
 9 list-style-type:square; /*實心方形符號*/ 
10 list-style-image:url(/dot.gif); /*圖片式符號*/
11 list-style-position: outside; /*凸排*/ 12 list-style-position:inside; /*縮排*/ 13 四、CSS背景樣式: 14 background-color:#F5E2EC; /*背景顏色*/ 15 background:transparent; /*透視背景*/ 16 background-image : url(/image/bg.gif); /*背景圖片*/ 17 background-attachment : fixed; /*浮水印固定背景*/ 18 background-repeat : repeat; /*重複排列-網頁預設*/
19 background-repeat : no-repeat; /*不重複排列*/ 20 background-repeat : repeat-x; /*在x軸重複排列*/ 21 background-repeat : repeat-y; /*在y軸重複排列*/ 22 指定背景位置 23 background-position : 90% 90%; /*背景圖片x與y軸的位置*/ 24 background-position : top; /*向上對齊*/ 25 background-position : buttom; /*向下對齊*/ 26 background-position : left; /*
向左對齊*/ 27 background-position : right; /*向右對齊*/ 28 background-position : center; /*居中對齊*/ 29 五、CSS連線屬性: 30 a /*所有超連結*/ 31 a:link /*超連結文字格式*/ 32 a:visited /*瀏覽過的連結文字格式*/ 33 a:active /*按下連結的格式*/ 34 a:hover /*滑鼠轉到連結*/ 35 滑鼠游標樣式: 36 連結手指 CURSOR: hand 37 十字型cursor:crosshair 38 箭頭朝下cursor:s-resize 39 十字箭頭 cursor:move 40 箭頭朝右 cursor:move 41 加一問號 cursor:help 42 箭頭朝左cursor:w-resize 43 箭頭朝上cursor:n-resize 44 箭頭朝右上cursor:ne-resize 45 箭頭朝左上cursor:nw-resize 46 文字I型 cursor:text 47 箭頭斜右下cursor:se-resize 48 箭頭斜左下cursor:sw-resize