只需重做我们的验证码即可。tic tac toe capture css(援助)
演示:http://sitehelp.com.au/demos/ttt/422.php
安美居的CSS如下:
.funcaptcha { width: 81px; overflow: hidden; float: left; margin-right: 0px; }
.funcaptcha a { display: inline-block; background: url("http://sitehelp.com.au/demos/ttt/images/ttt-small.png"); margin: 2px 2px 0 0; float: left; }
.funcaptcha a.circle { background-position: 0px -29px; }
.funcaptcha a.cross { background-position: -29px -83px; }
.funcaptcha a.empty { background-position: -0px 0px; }
.funcaptcha a.marked,
.funcaptcha a:hover { background-position: -29px 0px; }
.funcaptcha .box { display: block; cursor: pointer; overflow: hidden; width: 25px; height: 25px; }
包含PHP的,所以无法做小提琴。但是我的CSS定位刚刚好,有什么建议吗?
的TTT-small.png是:
我觉得你的CSS是正确的...但你的精灵需要的工作。 – 2011-05-19 01:59:47
现在您已经发布了图片,您会注意到底层的图层高度为25像素,顶层的图层高度为26像素。修正精灵。 :) – 2011-05-19 02:01:44
@John,如果你认为这是问题,请发表你的答案。 – 2011-05-19 02:04:35