I have an input tag nested inside a list tag. Here is the code:
<li class="button"><input name="submit_details" type="submit" value="Next" /></li>
Now when I use the following style:
.button:hover{color:#ffffff},
the text value “Next” does not change color(to white) when I hover over it.
Any suggestions on how to make that work?
Thanks
You need to target the
inputitself as opposed to theli:Or if you want the
inputtext color to turn white uponlihover: