Make skin look perfect in one-click with these AI-powered Photoshop actions.
Move one of the layers to the bottom (it should stick to the edge) and now save it as a calltoaction.png.
Thanks to this we will make a css hover effect without an image loading delay. Alright, so the last part is css code. I believe it is self-explained, but I made few comments here and there. I used 'background-size' property (to stretch background) that was introduced in css3, so older browsers wouldn't display our menu correctly. However, we are not supporting backward compatibility. If you wish to, you have to make some hacks (or rather tricks) with stretched images and z-index. Not too hard, but too messy for this tutorial. So I will just stay with background-size which is fully supported by Opera 10+, FireFox 4+, Internet Explorer 9+, Safari 4.1+ and Chrome 3+.