[html] Textarea사용시 IE와 NE에서 동시에

보통 작업을 할때 작업자들은 IE와 NE의 기능성의 오해로 인하여

실수를 할때가 간혹 있다.

그중에 가장 흔하게 사용을 하면서도 많은 실수를 하는 것이

textarea의 기능적인 문제이다.

IE의 경우 textarea를 사용할때  form에 포함이 되지 않아도 작동을 하지만

NS의 경우 form안에 포함이 되지 않으면 textarea의 기능을 완전히 상실하게된다…. (NS는 바부인가보다…. 쩝!)

다음은 동의서를 만드는데 쓴 예이다.

<form method=”post” action=”order.html”>  : 동의 할때 불러 들이 문서 즉 링크 이다.

<input type=”Reset” name=”동의하지않음” value=”동의하지않음” height=”10″ onClick=”history.go(-1)”>  : 동의 하지 않으면 뒤로 보내기

<html>

<head>

        <title>이용약관</title>

<style>

td        { font-size:9pt;}

Font { font-family: “돋움”, “돋움체”, “바탕”; font-size: 9pt}

A:link        { text-decoration:none; font-size:9pt;color:#000000}

A:visited { text-decoration:none; font-size:9pt;color:#000000}

A:hover   { text-decoration:none; font-size:9pt; Color:red}

A:active  { text-decoration:none; font-size:9pt;color:#000000}

</style>        

</head>

        

<body marginheight=”0″ marginwidth=”0″ topmargin=”0″ leftmargin=”0″>

<br>

이용약관 Sample

<center>

<form method=”post” action=”order.html”>

<textarea cols=”70″ rows=”15″ name=”이용약관”>

제 1 장   총  칙

</textarea>

<br><br>

위 약관에 동의 하십니까? <br><br>

<input type=”submit” name=”동의” value=”동       의” height=”10″>

<input type=”Reset” name=”동의하지않음” value=”동의하지않음” height=”10″ onClick=”history.go(-1)”>

</form>

</body>

</html>

서진우

슈퍼컴퓨팅 전문 기업 클루닉스/ 상무(기술이사)/ 정보시스템감리사/ 시스존 블로그 운영자

You may also like...

페이스북/트위트/구글 계정으로 댓글 가능합니다.