자동등록방지..코드 입력하는 크기는 늘리고 싶은데.. 채택완료
다조아해
10년 전
조회 3,608
글쓰기나..덧글달기에서..
자동등록방지 코드....입력하는 곳의 크기를 늘리고싶은데..어찌 해야 하나요?
$html .= '';
이 부분에서 size="6"를 늘려도 크기가 늘어나지 않네요.
</P>
<P>// 캡챠 HTML 코드 출력
function captcha_html($class="captcha")
{
$html .= "\n".'<script>var g5_captcha_url = "'.G5_CAPTCHA_URL.'";</script>';
//$html .= "\n".'<script>var g5_captcha_path = "'.G5_CAPTCHA_PATH.'";</script>';
$html .= "\n".'<script src="'.G5_CAPTCHA_URL.'/kcaptcha.js"></script>';
$html .= "\n".'<fieldset id="captcha" class="'.$class.'">';
//$html .= "\n".'<legend><label for="captcha_key">자동등록방지</label></legend>';
if (G5_IS_MOBILE) $html .= '<audio src="#" id="captcha_audio" controls></audio>';
//$html .= "\n".'<img src="#" alt="" id="captcha_img">';
$html .= "\n".'<img src="javascript:void(0);" alt="" id="captcha_img">';
if (!G5_IS_MOBILE) $html .= "\n".'<button type="button" id="captcha_mp3"><span></span>숫자음성듣기</button>';
$html .= "\n".'<button type="button" id="captcha_reload"><span></span>새로고침</button>';
$html .= '<input type="text" name="captcha_key" id="captcha_key" required class="captcha_box required" size="6" maxlength="6">';
$html .= "\n".'<span id="captcha_info">자동등록방지 숫자를 순서대로 입력하세요.</span>';
$html .= "\n".'</fieldset>';
return $html;
}</P>
<P>
댓글을 작성하려면 로그인이 필요합니다.
답변 1개
채택된 답변
+20 포인트
10년 전
/css/default.css
/css/mobile.css
이 두 화일에
일단 default.css <<== PC 기준
#captcha #captcha_key {margin:0 0 0 25px;padding:0 5px;width:70px;height:41px;border:1px solid #b8c9c2;background:#f7f7f7;font-size:1.333em;font-weight:bold;text-align:center;line-height:2.8em}
여기서 width:70px; 이넘을 width:80px; 처럼 80 90 원하는 크기로 수정하고 서버로 올려서 페이지를 다시 불러서 봐서 잘나오는지 확인해서 잘나오면 채택 ^^
mobile.css 화일도 찾아보면 있을겁니다.
로그인 후 평가할 수 있습니다
답변에 대한 댓글 1개
�
다조아해
10년 전
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인
css 대충 볼때는 없었는데..거기 숨어 있었네요. ^^*