css当中background的问题
马克- to-win:马克 java社区:防盗版实名手机尾号: 73203。
例 1.3
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title></title>
<style type="text/css">
div{
border:1px solid #000000;
height: 80px;
width: 400px;
font-size:25px;
}
</style>
</head>
<body>
<div style="background-image:url(7.gif);height:300px; background-repeat: no-repeat;background-position: 5 5; ">有关background的问题,ie8和FF是兼容的,测the image is at 5,5</div>
ge
<div style="background-color:#00ff00">测</div>
ge
<div style="background-image:url(7.gif);background-repeat: no-repeat">测</div>
ge
<div style="background-image:url(7.gif)">测</div>
ge
<div style="background-image:url(7.gif);background-repeat: repeat-x">测</div>
ge
</body>
</html>