首页 > 代码库 > 图片菜单错位效果

图片菜单错位效果

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title> 图片菜单错位效果-石家庄展柜-亿诚</title>
<style>
<!--
.mouseBeOffMe {
border-top: 10px solid #000000;
border-bottom: 10px solid #000000;
border-left: 6px solid #000000;
border-right: 10px solid #000000;
}
.mouseBeOnMe {
border-top: 6px solid #000000;
border-bottom: 14px solid #000000;
border-left: 10px solid #000000;
border-right: 6px solid #000000;
}
.mouseBeDown {
border-top: 13px solid #000000;
border-bottom: 7px solid #000000;
border-left: 10px solid #000000;
border-right: 6px solid #000000;
}
.mouseBeUp {
border-top: 10px solid #000000;
border-bottom: 10px solid #000000;
border-left: 10px solid #000000;
border-right: 6px solid #000000;
}
//-->
</style>
</head>
<body>
<img src="http://www.mamicode.com/images/changshi.ico" width="90" height="90" border="0" class="mouseBeOffMe" onm ouseover="this.className=‘mouseBeOnMe‘" onm ousedown="this.className=‘mouseBeDown‘" onm ouseup="this.className=‘mouseBeUp‘" onm ouseout="this.className=‘mouseBeOffMe‘">
<img src="http://www.mamicode.com/images/csrcode.ico" width="90" height="90" border="0" class="mouseBeOffMe" onm ouseover="this.className=‘mouseBeOnMe‘" onm ousedown="this.className=‘mouseBeDown‘" onm ouseup="this.className=‘mouseBeUp‘" onm ouseout="this.className=‘mouseBeOffMe‘">
<img src="http://www.mamicode.com/images/33567.ico" width="90" height="90" border="0" class="mouseBeOffMe" onm ouseover="this.className=‘mouseBeOnMe‘" onm ousedown="this.className=‘mouseBeDown‘" onm ouseup="this.className=‘mouseBeUp‘" onm ouseout="this.className=‘mouseBeOffMe‘">
</body>
</html>
<br><br><hr>

图片菜单错位效果