Hi,
I have a search box and I would like the text to be displayed a bit to the right by one or two spaces. I would like it to work also when text is inputed inside the text box. At the moment the text is adjacent to the left side of the box and looks untidy. How can I achieve this, where do I place the ** ** ?
how can I put it. Picture a search text box; when you put the cursor in the text box it's all to the left (unless you are chinese I suppose). Anyway I would like the cursor to be displayed at a distance of ** ** of the left side of the text box?
is this any clearer.
<form method="post" name="frmEnquiry" action="asp/ezineindex.asp" onSubmit=" NewWindow('','frmEnquiryWin',400,300,'','center');
" target="frmEnquiryWin">
<input type="text" name="email" size="20" value=" ... La Mia Email ..." onFocus="if(this.value==' ... La Mia Email ...')this.value='';" class="box3" onMouseOver="this.className='box3b'" onMouseOut="this.className='box3'" onClick="this.className='box3b'">
<input type="submit" value=" >> ISCRIVIMI! " style="color: #F4F4F4;border-color: #3163B7;border-width:2;background-color: #356CC8;width:120;height:17;font-family:Verdana;font-size:7pt;font-color:#000000;">
</form>
DHTMLHELP
I have a search box and I would like the text to be displayed a bit to the right by one or two spaces. I would like it to work also when text is inputed inside the text box. At the moment the text is adjacent to the left side of the box and looks untidy. How can I achieve this, where do I place the ** ** ?
how can I put it. Picture a search text box; when you put the cursor in the text box it's all to the left (unless you are chinese I suppose). Anyway I would like the cursor to be displayed at a distance of ** ** of the left side of the text box?
is this any clearer.
<form method="post" name="frmEnquiry" action="asp/ezineindex.asp" onSubmit=" NewWindow('','frmEnquiryWin',400,300,'','center');
" target="frmEnquiryWin">
<input type="text" name="email" size="20" value=" ... La Mia Email ..." onFocus="if(this.value==' ... La Mia Email ...')this.value='';" class="box3" onMouseOver="this.className='box3b'" onMouseOut="this.className='box3'" onClick="this.className='box3b'">
<input type="submit" value=" >> ISCRIVIMI! " style="color: #F4F4F4;border-color: #3163B7;border-width:2;background-color: #356CC8;width:120;height:17;font-family:Verdana;font-size:7pt;font-color:#000000;">
</form>
DHTMLHELP
Comment