채택완료

버튼에 생기는 점선...

2015-08-26 (수) 11:23:40 2,736

$('#stv_btn').append('<button type="button" id="up"><img src="/img/today-3.jpg" width="33px" height="19px" border="0"></button><button type="button" id="down"><img src="/img/today-4.jpg" width="33px" height="19px" border="0"></button>');

style.css

#stv_btn {text-align:center;zoom:1}
#stv_btn:after {display:block;visibility:hidden;clear:both;content:""}
#stv_btn button {float:center;margin:0;padding:0px 0 8px;width:42px;border:0;background:#fff;color:#fff;text-align:center}​

이런식으로 소스가 있는데 버튼을 클릭하면 이미지 주변에 점선이 생기는데 안생기게 할순 없나요??

답변 1개

채택된 답변
+20 포인트
#stv_btn button {float:center;margin:0;padding:0px 0 8px;width:42px;border:0;background:#fff;color:#fff;text-align:center; outline:none;}​
이렇게 해보세요!

답변을 작성하려면 로그인이 필요합니다.