リスト6 textbox.xul

 1 <?xml version="1.0" encoding="UTF-8"?>
 2 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
 3 <window id="userinfo" title="Fill out the following form"
 4         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 5   <groupbox style="margin: 50px; background: white; max-width: 400px">
 6     <caption label="Would you fill out the following form ?"/>
 7     <grid style="padding: 5px">
 8       <columns>
 9         <column flex="1"/>
10         <column flex="4"/>
11       </columns>
12       <rows>
13         <row>
14           <label control="email" value="E-mail"/>
15           <textbox id="email"/>
16         </row>
17         <row>
18           <label control="password" value="Password"/>
19           <textbox id="password" type="password" maxlength="8"/>
20         </row>
21         <row>
22           <label control="address" value="Address"/>
23           <textbox id="address" type="address"/>
24         </row>
25       </rows>
26     </grid>
27     <grid style="padding: 5px">
28       <columns>
29         <column flex="5"/>
30         <column flex="1"/>
31       </columns>
32       <rows>
33         <row>
34           <label/>
35           <button id="userinfo_submit" label="OK"/>
36         </row>
37       </rows>
38     </grid>
39   </groupbox>
40 </window>