怎样改css中已设置好的类中的部分属性?
<html>
<head>
<!--1这是由delphi程序自动生成的css:--->
<style type="text/css">
.IWBUTTON1IWFRAME11CSS {position:absolute;left:207px;top:31px;z-index:100;width:75px;height:25px;font-weight:normal;font-style:normal;text-decoration: none;font-size:13px; }
</style>
<!----1End----->
<!-----2但我可以在加载的模板中写css代码改变先前的属性---->
<style type="text/css">
.IWBUTTON1IWFRAME11CSS{position:relative;left:0px;top:0px;z-index:100;width:75px;height:25px;font-weight:normal;font-style:normal;text-decoration: none;font-size:13px; }
</style>
<!------2End------>
</head>
<body>
<input value="IWButton1" name="IWBUTTON1IWFRAME11" type="button" class="IWBUTTON1IWFRAME11CSS" id="IWBUTTON1IWFRAME11" tabindex="4" >
</body>
</html>
-------------
有更简单的办法改变设置好的类中的部分属性??
如我这样写
<style type="text/css">
.IWBUTTON1IWFRAME11CSS{position:relative;left:0px;top:0px;}
</style>
后面文本框长度高度等属性会自动继承么?