| 
	
 | 
 Posted by Adrienne Boswell on 05/08/07 14:24 
Gazing into my crystal ball I observed "Jukka K. Korpela" 
<jkorpela@cs.tut.fi> writing in 
news:BVW%h.160412$HE1.86966@reader1.news.saunalahti.fi:  
 
> Scripsit aaronfude@gmail.com: 
>  
>> What's a better way to control the width of an input box? To use 
>> "width", as in style="width: 200px", or size as in <input size=25>? 
>  
> Surely the latter, since as an author, you can estimate the typical 
> length of input in characters but not in pixels. For all that you can 
> know, 200px might correspond to 4 or 40 characters. 
>  
 
Agreed, as well as, as an author you may need to limit the user to a  
certain number of characters, if for instance, the information is to be  
posted to a database.  Of course, in that case, you would also want to  
check the size of the data server side. 
 
--  
Adrienne Boswell at Home 
Arbpen Web Site Design Services 
http://www.cavalcade-of-coding.info 
Please respond to the group so others can share
 
  
Navigation:
[Reply to this message] 
 |