If you use FrontPage Behaviors to do things like change the background color of a layer, or change the style of a font tag using onclick or onmouseover commands, and you also want to restore the style onmouseout or onblur, you may find that the style is not restored properly in certain cases.
These cases are when the style is set as part of the style attribute. For example, if you have:
<DIV style=”background-color: red;”>this is in the div</DIV>
And you use FrontPage‘s behaviors to change the color to black onmouseover, it will not turn back to red onmouseout even though you check the box for it to do so.
The workaround if pretty simple, but also very hard to figure out, so here it is:
and change it to:
That should do it for you.