i want to draw image's border when i mouse over it (CSS)?
<img src="<?=$photo;?>" width="235开发者_StackOverflow中文版" height="154" alt="<?=$name;?>" />
i want when the user mouse it over it draw a border of the image like facebook
Is this what you're looking for... http://jsfiddle.net/5mmhE/3/
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.
精彩评论