Hallo,
ich suche nach einer Lösung für einen Hovereffekt bei ganz normalen Formularbuttons. Ist dies technisch überhaupt möglich? Wenn ja wie muss ich dies machen?
Entweder mit den bereits genannten input:hover-Technik oder mittels JS.
<input type="button" style="color: #FFF; background-color: #F00" value="Buttontext" onmouseover="if(this.style){this.style.color='#FF0';this.style.backgroundColor='#00C'}" onmouseout="if(this.style){this.style.color='#FFF';this.style.backgroundColor='#F00'}">
Bei mehrfacher Anwendung waere eine Funktion sinnvoll.
MfG, Thomas