تفضل اخوي
اولا هذا كود الـ css
كود PHP:
<style type="text/css">
<!--
#majado2
{
background-image: url(مسار الصورة الاصلية);
padding: 5px;
width: 137px;
height: 62px;
position:absolute;
}
#majado2:hover
{
background-image: url(مسار الصورة بعد مرور الماوس);
}
-->
</style>
لا تنسى مقاسات الصوره
لازم تكون مضبوطه
وهذا كود الـ html
كود PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<link href="aqar-rent.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div><a id="majado2" href="services.php" title="الخدمات" ></a></div>
</body>
</html>
جرب وبالتوفيق يا صديقي :nice: