I am using style sheets within the HTML such as
I want to include an onmoseover and onclick event as part of the BannerText style. Is it possible to have onmouseover, onmouseout, onclick, etc. within the definition of the style so that any tags in which class="BannerText" will respond to those events? I have tried several ways using the syntax from an inline style but it isn't working. If it is possible, what is the syntax?
Code:
</head>
<style>
.BannerText {font-family:"Times New Roman"; font-style: "italic"; font-weight:"Bold"; color:"#003300"; font-size:"18pt"; text-align:center;}
.SectionText {font-family:"Arial"; color:"#003300"; font-size:"8pt"}
</style><body>
I want to include an onmoseover and onclick event as part of the BannerText style. Is it possible to have onmouseover, onmouseout, onclick, etc. within the definition of the style so that any tags in which class="BannerText" will respond to those events? I have tried several ways using the syntax from an inline style but it isn't working. If it is possible, what is the syntax?