<html>
<head>
<script type="text/javascript">
function mouseOver()
{
document.b1.src ="/i/eg_mouse.jpg"
}
function mouseOut()
{
document.b1.src ="/i/eg_mouse2.jpg"
}
</script>
</head>

<body>
<a href="/index.html" target="_blank">
<img border="0" alt="Visit W3School!" src="/i/eg_mouse2.jpg" name="b1"  onmouseover="mouseOver()" onmouseout="mouseOut()" /></a>
</body>
</html>

 

 

 ------------网页居中css中不可或缺的三条语句

 #templatemo_container {

background: url(images/templaetmo_container_bg.jpg) no-repeat top;

width: 1024px;

margin: auto;

}

相关文章:

  • 2022-01-14
  • 2022-01-01
  • 2022-01-29
  • 2021-12-07
  • 2021-08-28
  • 2021-06-16
  • 2021-11-28
  • 2022-02-07
猜你喜欢
  • 2022-01-06
  • 2021-05-16
  • 2021-06-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案