Buffon
Buffon

Reputation: 3723

i want to draw image's border when i mouse over it (CSS)?

<img src="<?=$photo;?>" width="235" height="154" alt="<?=$name;?>" />

i want when the user mouse it over it draw a border of the image like facebook

Upvotes: 1

Views: 372

Answers (2)

Hristo
Hristo

Reputation: 46557

Is this what you're looking for... http://jsfiddle.net/5mmhE/3/

Upvotes: 3

user338195
user338195

Reputation:

CSS solution is to store link as a block and set it's background-image property in css and then add :hover to that link.

Upvotes: 0

Related Questions