fieldset Element

xhtml:fieldset Element
 
이 컨트롤은 관련 있는 엘리먼트들을 하나로 묶을 때 주로 사용한다. 예를 들어 이름과 주민등록 번호를 입력 받는 텍스트 박스를 하나로 묶어서 보여주고자 할 경우 사용될 수 있으며, 이 영역(FieldSet)에 제목을 입력하고자 할 때에는 <Legend> 컨트롤을 같이 사용한다.
분류 구분 비고
Syntax HTML
Script
< fieldset   propName = "propVal"> innerString  < /fieldset >
[propVal] = object .PropName;
Element Information Standards
  • IE4.0에서 지원되고 스크립트는 IE4.0에서 부터 지원된다.
  • HTML4.0에 정의되었고, DOM Level 1(W3C Document Object Model) 에 정의되었다.
  • Remarks
  • fieldset 엘리먼트는 윈도우의 Frame과 같이 작용한다.
  • 이 엘리먼는 form 엘리먼트를 그룹짓고 문서의 다른 문자열과 확실히 구별시키는데 편리하다.
  • Sample
    …(생략)…
    <fieldset class="sAreaBtn" style="position:absolute; top:0px; left:0px; height:28px; width:584px; ">
     <table class="sAreaBtnTbl" cellpadding="0" cellspacing="0" border="1" style="position:absolute; top:0px; left:0px; width:585px; ">
      <colgroup>
       <col width="585"/>
      </colgroup>
      <tbody>
       <tr>
        <td class="sAreaBtnE">
         <img id="btn10" src="../image/btn001a.gif" onclick="MAIN('10')"/>
         <img id="btnCS" src="../image/btn002a.gif" onclick="ncDoc_windowClose()"/>
        </td>
       </tr>
      </tbody>
     </table>
    </fieldset>
    …(생략)… 

    댓글 없음: