this is my HTML code:
<button name='q1.button1' id='q1.button1' onclick='incorrect()' </button>
and this is my CSS file:
.q1.button1 {
width: 500px;
height: 250px;
background-image: url('images/buttons/q1.button1.jpg');
}
i also tried:
#q1.button1 {
width: 500px;
height: 250px;
background-image: url('images/buttons/q1.button1.jpg');
}
but none of them work, the button is just a big white box!
i thought there could be a problem with the HTML so I tried the following and it worked:
Button {
width: 500px;
height: 250px;
background-image: url('images/buttons/q1.button1.jpg');
}
however, i cant use this because each button has to be different but this will change all buttons