Text Box Size, List Box Size & File Object anomalies.

by Masaoud Moonim <masutm(at)yahoo.com>

 Date:  Thu, 6 Apr 2000 23:23:03 -0700 (PDT)
 To:  hwg-graphics(at)hwg.org
  todo: View Thread, Original
Hi all,

I have a HTML Form containing 1 Text Box, 1 Drop Down
List Box ( Select Object ) and 1 File Object ( for
browsing and selecting files on local machine ).

I have 3 problems :
-------------------
1> 
I specify my text box as :
<input type="text" name="FName" size="50" value="Joe">

The problem is that it lloks very different in IE and
Netscape. Somehow in IE the text box appears to have
proper size but in Netscape the text box becomes extra
long and thus gives a very inconsistent look. How
would I be able to specify a constant length AND get a
constatn look and feel ?

2>
For the Drop Down List Box ( Select ), initially there
are no options in the list box ( it is empty ), the
options get added later( dynamically ).  So initially
when the page loads, the list box appears as a text
box with a narrow length, only after I add options to
the list box, it becomes proper size. Is it not
possible for one to maintain a constant length list
box independant of the max length option in the list ?

3>
When the form loads I want to put a default value in
the File object. But somehow the file object ignores
the "value" attribute. e.g: The following doesn't work

<input type="file" size="30" name="F1" value="F1.txt">
So how do I specify a default value for a File object
?

Thanx in advance.

Regards
Masaoud



__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

HWG: hwg-graphics mailing list archives, maintained by Webmasters @ IWA