1、VML標記特有的通用屬性
屬性名 |
默認值 |
值類型/范圍 |
用途 |
strokeweight |
0.75pt=1px |
number |
描述圖形的邊框粗度 |
strokecolor |
black |
color |
描述圖形的邊框顏色 |
stroked |
true |
boolean |
描述圖形是否使用邊框 |
fillcolor |
white |
color |
描述圖形的背景顏色 |
filled |
true |
boolean |
描述圖形是否使用背景 |
print |
true |
boolean |
描述圖形是否允許被打印機打印 |
coordsize |
1000,1000 |
Vector2D |
暗示圖形與容器空間的大小比例 |
coordorigin |
0 0 |
Vector2D |
coordinate at top-left corner of element |
wrapcoords |
null |
string |
outline to use for tight text wrapping |
2、VML標記支持的HTML通用屬性
屬性名 |
默認值 |
值類型/范圍 |
用途 |
id |
null |
string |
定義元素的標識索引(多用于DHTML編程) |
class |
null |
classname |
定義元素使用的CSS樣式類 |
style |
null |
CSS string |
描述圖形的CSS樣式表 |
title |
null |
string |
定義圖形的提示標題(鼠標靠近后的幫助提示) |
href |
null |
string |
定義圖形鏈接的URL地址 |
target |
_self |
_self/_blank/_top |
定義圖形以何種形式打開鏈接 |
contentEditable |
false |
boolean |
描述圖形內容是否允許用戶編輯 |
dir |
ltr |
ltr/rtl |
描述圖形內容以哪種方向輸出 |
disabled |
false |
boolean |
描述圖形能夠響應用戶事件觸發 |
3、VML標記支持的CSS通用屬性
屬性名 |
可用值/可用值范圍 |
用途 |
width |
0-9999 |
描述寬度 |
height |
0-9999 |
描述高度 |
position |
static absolute fixed relative |
描述如何定位輸出 |
left |
0-9999 |
描述距離頁面位置左 |
top |
0-9999 |
描述距離頁面位置上 |
z-index |
0-9999 |
描述3D位置 |
cursor |
auto crosshair hand move help wait text…… |
描述鼠標形狀 |
zoom |
0-99 |
描述縮放比例 |
clip |
rect(上 右 下 左) |
描述裁剪對象 |
border |
0-99 style color |
描述邊框 |
display |
block none inline list-item |
描述顯示或隱藏 |
overflow |
visible auto hidden scroll |
描述滾動條 |
color |
colorstring |
描述文本內容顏色 |
font-size |
0-999 |
描述文本內容字號 |
filter |
xray flipv fliph invert alpha(opacity=num) |
描述濾鏡效果 |
rotation |
(0-9999)%360 |
描述旋轉度 |
flip |
x y |
描述反轉或顛倒圖形 |
posted on 2007-12-04 13:35
有貓相伴的日子 閱讀(457)
評論(0) 編輯 收藏 所屬分類:
報表