css用expression来区分只读文本框
时间:2010-05-20 来源:zhenshsjb
<style type="text/css">
<!--
input{ background:expression((this.readOnly &&this.readOnly==true)?"#CCCCCC":"")}
-->
</style>
<body>
<input type="text" name="" />
<input type="text" name="" readonly="readonly" />
expression:处理方式:
expression(操作手法);
expression(?:)
相关阅读 更多 +