text-underline-position(转)[@more@]
text-underline-position版本:IE5.5+专有属性 继承性:有
语法:
text-underline-position : below | above
取值:
below :? 默认值。在文本下面
above :? 在文本上面
说明:
设置或检索 text-decoration 属性定义的下划线的位置。
此属性对于 currentStyle 对象而言是只读的。对于其他对象而言是可读写的。
对应的脚本特性为 textUnderlinePosition 。
示例:
p { text-underline-position: above; text-decoration: underline; }
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/8225414/viewspace-957335/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/8225414/viewspace-957335/