So I have used – http://www.roundedcornr.com/ – to generate some rounded corners via CSS. Great – works fine, no probs.
However! I am now really stuck trying to do “hover” rounded corners. I basically got the generator to generate the corners in a lighter color (for the hover) and now have no idea how to implement the lighter hover ?
Does anyone know how to do this in CSS/HTML only ? It should be 100% possible I am just a little unsure.
I only gave the website a short peak and basically they provide you with a couple of PNGs. Not bad, however not the best solution in all cases. Since the current CSS standard doesn’t support rounded corners and beside Firefox/Mozilla no one understands this:
I think you are stuck with only one option. Choose a constant height and width for your element and create ONE png out of it. You can than create something like this
Why do I think there is no other way? Because you only can effectively change the attributes of one element at a time with the “hover” effect. Hopefully CSS3 will give us rounded corners… However if you make use of JavaScript this is a completely different story..
Update
I thought about it and I probably flopped in presenting you all the available options. Here is a working solution for IE7+, FF, Opera that achieves exactly what you are looking for. Just replace the color with some background-image. Sorry!