Style属性在脚本中的表示...
Style Object Property Style Sheet attribute
background background
backgroundAttachment background-attachment
backgroundColor background-color
backgroundImage background-image
backgroundPostion background-position
backgroundRepeat background-repeat
border border
borderBottom border-bottom
borderBottomColor border-bottom-color
borderBottomStyle border-bottom-style
borderBottomWidth border-bottom-width
borderColor border-color
borderLeft border-left
borderLeftColor border-left-color
borderLeftStyle border-left-style
borderLeftWidth border-left-width
borderRight border-right
borderRightColor border-right-color
borderRightStyle border-right-style
borderRightWidth border-right-width
borderStyle border-style
borderTop border-top
borderTopColor border-top-color
borderTopStyle border-top-style
borderTopWidth border-top-width
borderWidth border-width
clear clear
clip clip
color color
cursor cursor
display display
filter filter
font font
fontFamily font-family
fontSize font-size
fontStyle font-style
fontVariant font-variant
fontWeight font-weight
height height
left left
letterSpacing letter-spacing
lineHeight line-height
listStyle list-style
listStyleImage list-style-image
listStylePosition list-style-position
listStyleType list-style-type
margin margin
marginBottom margin-bottom
marginLeft margin-left
marginRight margin-right
marginTop margin-top
overflow overflow
paddingBottom padding-bottom
paddingLeft padding-left
paddingRight padding-right
paddingTop padding-top
pageBreakAfter page-break-after
pageBreakBefore page-break-before
position position
styleFloat float (特别)
textAlign text-align
textDecoration text-decoration
textDecorationBlink text-decoration(特别)
textDecorationLineThrough text-decoration
textDecorationNone text-decoration
textDecorationOverline text-decoration
textDecorationUnderline text-decoration
textIndent text-indent
textTransform text-transform
top top
verticalAlign vertical-align
visibility visibility
width width
zIndex z-index
问题点数:0、回复次数:4Top
1 楼xiaoshi(累)回复于 2002-05-27 15:19:51 得分 0
这个问题我哪天问过孟子了
本来就不同的阿Top
2 楼linhaibo(美洲豹)回复于 2002-05-27 15:28:18 得分 0
书上说,直接修改样式,比更改 className 速度快很多...Top
3 楼qiushuiwuhen(秋水无恨)回复于 2002-05-27 15:29:53 得分 0
你不是不讲究效率的么?嘿嘿Top
4 楼linhaibo(美洲豹)回复于 2002-05-27 15:53:11 得分 0
嘿嘿...这个效率很明显,常用些.Top
相关问题
- 如何用脚本控制frameset的属性?
- 用vbs脚本如何设置IIS6的Enableparentpaths属性?急!!!!
- 请问如何在javascript脚本中设置一个文本框的readonly属性
- 请问如何在脚本里面修改button的enable属性!急!!!
- 请问在脚本中怎么设置submit按钮的disabled属性了 谢谢。
- 怎样利用PB脚本写字段的protect属性?急,在线等!
- 改变style属性问题
- 怎么样用javascript脚本在加载页面后初始化控件属性,但回发时不执行该初始化脚本。
- 请问在javascript脚本中如何创建自己的对象,并为之设置属性和方法?(100分)
- 请问如何用ASP或其它脚本设置当前浏览器窗口或菜单条属性?



