1<?xml version="1.0"?> 2<window title="Text input text centering reference" 3 xmlns:html="http://www.w3.org/1999/xhtml" 4 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> 5 <html:style type="text/css"> 6 @font-face { 7 font-family: "Ahem"; 8 src: url(../fonts/Ahem.ttf); 9 } 10 hbox { 11 height: 128px; 12 background-color: white; 13 } 14 input { 15 height: 64px; 16 background-color: white; 17 border: none; 18 margin: 0px; 19 padding: 0px; 20 font-family: "Ahem", sans-serif; 21 font-size: 32px; 22 } 23 </html:style> 24 25 <hbox align="center"> 26 <html:input value="Ahem"/> 27 </hbox> 28</window> 29