Hello
no-repeat center 2px
no-repeat 50% 2px
works for me
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>12345 12345 12345 12345 12345</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
#boxwrap a {
display:block;
position:absolute;
/*height:30px;
width:30px;*/
text-indent:-999999999px;
background:black;
cursor:pointer
}
#boxwrap a.north{width:100px;height:15px;left:37px;top:5px;}
#boxwrap a.north:hover, #boxwrap a.north.over {background: url(x.jpg) no-repeat 50% 2px}
</style>
<script type="text/javascript">
</script>
</head>
<body>
<div id="boxwrap"><a href="##" class="north">12345</a></div>
</body>
</html>
Bookmarks