Forum:CSS issue

Here was the code I've written: In order to achieve a style that makes a button turn from light blue to dark blue on hover and will turn green when clicked, but as seen here, it doesn't work as expected. In addition to that, where should I apply in order to disable the underline upon hover? -- Sam Wang 12:07, October 15, 2012 (UTC)


 * #CC8CFA is a purple-ish color. You'd want the  to be "green" or a variation of a green hexadecimal color. Add the   to  . Rappy 16:15, October 15, 2012 (UTC)


 * Sorry I was confused. I mean change it to purple on click. Can you help me with removing the underline on hover? Also, is it possible to make it 100% wide otherwise it looks a bit odd, thanks -- Sam Wang 09:54, October 16, 2012 (UTC)


 * Here. Rappy 14:27, October 16, 2012 (UTC)


 * Thank you very much for spending your time for helping me, but why is this happening? -- Sam Wang 04:47, October 17, 2012 (UTC)

Oh I think I fixed it. Thanks! :) -- Sam Wang 04:51, October 17, 2012 (UTC)