比如下一段css的定义,怎么给IFrame,多谢了!
<style type="text/css">
clsCursor { cursor: hand}
input { color: #ff0000; border-style: solid; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 1px; border-left-width: 0px;}
</style>
<style type="text/css">
clsCursor { cursor: hand}
input { color: #ff0000; border-style: solid; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 1px; border-left-width: 0px;}
</style>
1.
clsCursor { cursor: hand}
应写为:
.clsCursor { cursor: hand}2.
input { color: #ff0000; border-style: solid; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 1px; border-left-width: 0px;}
会把所有<input...>的标记设为input样式。
如果你想在其它地方使用input样式
你可以改一个名字,前面要有一个点(.),然后把它设为class="你取的名字就行了"
<style type="text/css">
.你的class名字 clsCursor { cursor: hand}
.你的class名字 input { color: #ff0000; border-style: solid; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 1px; border-left-width: 0px;}
</style>
<iframe name=f1 class=你的class名字 width=100 height=100 src=.....>
</iframe>OK,OVER.