Basically i have found some code and modified it to suit my need, http://jsfiddle.net/tz9XG/6/
i think on this website somewhere. It is working well as I need, It shows a rounded rectangle filled with black color when hovered over an image. But when hovering I want it to show some text inside the rectangle.
Sorry, I got one more slight problem.
I tried to insert this code into my website but it doesn’t work the same way it works on jsfiddle.net.
I’m just confused with what goes where. I have the CSS code in my css style sheet- works ok.