Form Changes Color

[Total: 0    Average: 0/5]

This shows how to use style sheet properties to change the cosmetics of a text button.

Body Code:

  .bigChange {color:blue; font-weight:bolder; font-size:175%;
letter-spacing:4px;  text-transform: uppercase; background:yellow}
  .start {color:yellow; background:navy}

  function highlightButton(s) {
    if ("INPUT"==event.srcElement.tagName)
<FORM NAME=highlight onmouseover="highlightButton('start')"
    <input type="button" Value="Pass your mouse over me">

Times Viewed: 2

Leave a Reply

Your email address will not be published. Required fields are marked *