Indonesia
<skrip> fungsi ikan pengisap(tipe, tag, parentId) { if (window.attachEvent) { window.attachEvent("onload", function() { var sfEls = (parentId==null)?document.getElementsByTagName(tag):document .getElementById(parentId).getElementsByTagName(tag); } } sfFocus = function(sfEls) { for (var i=0; i<sfEls.length; i++) { sfEls[i].onfocus=function() { this.className+=" sffocus"; } sfEls[i].onblur=function() { this.className=this.className.replace(regExp baru(" sffocus\b"), ""); } } } ikan pengisap(sfFocus, "INPUT"); ikan pengisap(sfFocus, "TEXTAREA"); </script> <style type="text/css"> formulir{ margin: 0px otomatis; lebar: 450 piksel; batas: solid 1px #CCC; } .bo{ batas bawah: solid 1px #CCC; } label{ mengapung: kiri; bantalan: 10px 0px 4px 30px; } masukan{ bantalan: 1 piksel; } masukan,area teks{ batas: 1px solid #CCC; margin: 5 piksel 0 piksel; } area teks{ bantalan: 2 piksel; } .bt{ lebar: 38 piksel; tinggi: 20 piksel; ukuran font: 11px; batas: solid 1px #CCC; latar belakang: #FBFBFB; perataan teks: tengah; } .btcenter{ perataan teks: tengah; jelas: kiri; bantalan: 4px 0px 0px; } .sffocus {/*----untuk IE----*/ latar belakang: #F0F9FB; batas: 1 piksel padat #1D95C7; } area teks:fokus, masukan:fokus {/*----untuk firefox......----*/ latar belakang: #F0F9FB; batas: 1 piksel padat #1D95C7; } badan { keluarga font: Arial, Helvetica, sans-serif; ukuran font: 12px; warna: #666666; margin-atas:20 piksel; } </style> <form action="#" method="post" name="myform" id="myform"> <div class="bo"> <label>姓名:</label> <input type=" text"size="20" maxlength="10" /> </div> <div class="bo"> <label>电话:</label> <input type="text" size="20" maxlength=" 16" /> </div> <div class="bo"> <label>主题:</label> <input type="text" size="30" maxlength="20" /> </div> <div class="bo"> <label>内容:</label> <textarea cols="40" row="8"></textarea> </div> <div class="btcenter"> <input type="submit " class="bt" value="Kirim" /> <input type="reset" class="bt" value="Reset" /> </div> </form>