dtd 선언시 텍스트박스에 찍으면 테두리 색 변경
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="ko" xml:lang="ko" xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type="text/css">
.input {width:200px; padding:5px; border:#b7b7b7 solid 3px; font-weight:bold; font-family:Gulim;}
/* .input:hover {border:#6AB400 solid 3px;} 마우스 올릴시 테두리 변화 */
.input:focus {border:#6AB400 solid 3px;}
</style>
</head>
<body>
<input type="text" class="input" />
</body>
</html>
미리보기 - http://www.ucommunity.net/test.php
<html lang="ko" xml:lang="ko" xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type="text/css">
.input {width:200px; padding:5px; border:#b7b7b7 solid 3px; font-weight:bold; font-family:Gulim;}
/* .input:hover {border:#6AB400 solid 3px;} 마우스 올릴시 테두리 변화 */
.input:focus {border:#6AB400 solid 3px;}
</style>
</head>
<body>
<input type="text" class="input" />
</body>
</html>
미리보기 - http://www.ucommunity.net/test.php
|
댓글을 작성하시려면 로그인이 필요합니다.
로그인
댓글 3개
java로도 처리하기 힘들었는데 좋은 정보네요