Re: FORMS and sizing in Netscape

by "Andrew Armstrong" <andrew(at)wisca.co.uk>

 Date:  Tue, 26 Feb 2002 16:49:26 -0000
 To:  "Angel One" <angelone(at)angelonearth.net>,
<hwg-techniques(at)hwg.org>
 References:  hp ais mshome zydhek1 ais2 mshome2
  todo: View Thread, Original
What has worked for me has been to use css to set the width, BUT use unique
IDs for the various input forms, and set the width of each individually.
Then you can make it look right in one browser using size, and the other
using the css.

There is an example at www.parallel-lines.co.uk/carform.html

Andrew Armstrong

----- Original Message -----
From: "Angel One" <angelone(at)angelonearth.net>
To: <hwg-techniques(at)hwg.org>
Sent: Wednesday, February 13, 2002 9:06 PM
Subject: Re: FORMS and sizing in Netscape


Hi Linda,
You could always use a browser sniffer & two pages with the different code.
Just another thought - even though I know it's dangerous......
~ Paul

----- Original Message -----
From: "Linda Mercer/Wishstar" <catnip(at)ais.net>
To: "Joshua Bernard" <jbernard(at)ll.mit.edu>; <hwg-techniques(at)hwg.org>
Sent: Wednesday, February 13, 2002 2:03 PM
Subject: Re: FORMS and sizing in Netscape


Welcome! Thanks for trying, but that didn't work.  The only thing that
seems to work is making the input field smaller... .but then it's TINY in
IE.

Here's the form:

       <FORM METHOD=POST ACTION="/cgi-bin/search/hyperseek.cgi"
NAME="SearchForm">
           <INPUT NAME="Terms" MAXLENGTH=800 SIZE=15 VALUE="">
           <INPUT TYPE=hidden NAME="howmuch" VALUE="ALL">
           <INPUT TYPE=submit VALUE="Go">
       </FORM>

I need to make it fit into a  cell width="150" with the go button in the
same line with the field <sigh>

Linda

At 07:52 AM 2/13/02, Joshua Bernard wrote:
>You can also use
>
>input type="text" style="font-family:monospace"
>
>That seems to work pretty well between both IE and NS...It by default uses
a
>monospace font for both browsers, so the dimensions are the same.
>
>New to the list, BTW.
>
>Josh
>
>"Kehvan M. Zydhek" wrote:
>
> > "Nutscrape" Heheheheheh! I like that...
> >
> > Actually, Paul's right, Netscape does make the boxes bigger, but the
same
> > number of characters in length... Netscape uses the COURIER NEW (or
> similar)
> > font to space the input fields; IE uses the browser default, TIMES NEW
> ROMAN
> > or VERDANA or whatever the user has set it to to define it. In that
Courier
> > is monospaced and the IE fonts are not, the IE boxes are smaller.
> >
> > If CSS is an option, size the Input boxes with CSS (style="width:
100px;").
> > IE will use that size regardless of the size attribute, Netscape 4.x
will
> > ignore the CSS and size based on the size attribute. You can get close
> > approximations that way.
> >
> > Good luck!
> >
> > Kehvan
> >
> >
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
> > :: NORTON ANTI-VIRUS 2002 scanned this email prior to sending. It is
free
> > :: of any known embedded or attached viruses, trojans, or internet
worms.
> >
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
> >
> > ----- Original Message -----
> > From: "Angel One" <angelone(at)angelonearth.net>
> > To: <hwg-techniques(at)hwg.org>
> > Sent: Tuesday, February 12, 2002 23:19
> > Subject: Re: FORMS and sizing in Netscape
> >
> > >     Hi Linda,
> > >     Without seeing your code, you probably need to shorten the # of
> > > characters (size) on your fields.
> > > <input type="text" size="30" name="name">
> > >  I've found that Nutscrape tends to make the fields much longer than
I.E.
> > > You can still make the maximum characters as long as you wish.
> > > HTH,
> > >     ~ Paul
> > >
> > > ----- Original Message -----
> > > From: "Linda Mercer/Wishstar" <catnip(at)ais.net>
> > > To: <hwg-techniques(at)hwg.org>
> > > Sent: Tuesday, February 12, 2002 10:41 PM
> > > Subject: FORMS and sizing in Netscape
> > >
> > >
> > > I'm having trouble getting a form to size withint the border of ta
table
> > > (and not expand the table to almost twice it's width) in Netscape...
it
> > > fits perfectly in the table in IE.  Any suggestions?
> > >
> > > Linda
> > >
> > >
> > >
> > > ����������������������������������������
> > >
> > > "There is no better exercise for your heart than reaching
> > > down and helping to lift someone up"  - Bernard Meltzer
> > > Feline Rescue Network at www.felinerescue.net
> > >
> > > ����������������������������������������
> > >
> > > The Feline Rescue Network specializes in linking up
> > > great homes with great kitties. Join Operation Noble
> > > Foster and offer a foster home for the cats of the
> > > Military while they are away protecting us
> > > http://www.felinerescue.net/noblefoster/intro.htm
> > >
> > >
> > >
> > >
> > >
> > >
>
>--
>Joshua Bernard
>Web Information Designer
>
>MIT Lincoln Laboratory
>244 Wood Street
>Lexington, MA 02420 USA
>
>(781) 981-3297
>jbernard(at)ll.mit.edu
>http://www.ll.mit.edu

����������������������������������������

"There is no better exercise for your heart than reaching
down and helping to lift someone up"  - Bernard Meltzer
Feline Rescue Network at www.felinerescue.net

����������������������������������������

The Feline Rescue Network specializes in linking up
great homes with great kitties. Join Operation Noble
Foster and offer a foster home for the cats of the
Military while they are away protecting us
http://www.felinerescue.net/noblefoster/intro.htm

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