Forum Moderators: not2easy
So my question; Is there some place that lists ALL the IE CSS syntax && the corresponding Mozilla/netscape syntax, && any possible other Main browsers so that I can make my site as effective for as many users as possible?
If NOT, can anyone help me with my instant problem, to get the submit button to change colours & background images for Mozilla...
So maybe try a function like :
function changeColor(someElement, someColor){
someElement.style.background-color = someColor;
}
call this function with the element and the color...
goodluck....
Change colors and background image with CSS:
(input.submit:hover does not work in IE)
form input.submit {
border:1px dotted black;
background:black url(test.jpg);
font:15px verdana;
color:red;
}
form input.submit:hover {
border:1px solid red;
background:white url(test2.jpg);
font:15px geneva;
color:green;
}
<input type="submit" value="Submit this now" class="submit" />