The WIDTH attribute of the INPUT tag does not work with all browsers - I
believe this is a Netscapism.  I could not find any reference to INPUT-WIDTH
in the HTML specs.

HTML 4.01
http://www.w3.org/TR/html4/interact/forms.html#h-17.4

HTML 4.0
http://www.w3.org/TR/1998/REC-html40-19980424/interact/forms.html#h-17.4

HTML 3.2
http://www.w3c.org/TR/REC-html32#input

HTML 2.0
http://www.ics.uci.edu/pub/ietf/html/rfc1866.txt
8.1.2. Input Field: INPUT

Melvyn's example covers the majority of browser market shares.

-Jeff

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Christopher Dixon
Sent: Friday, October 26, 2001 04:38 PM
To: [EMAIL PROTECTED]
Subject: Re: [sambar] sizing the submit button

Does this not work?

<INPUT TYPE=submit VALUE="Submit" Width="200">
The 200 is in Pixels if no Width is included the submit button takes the
size of the Value

Chris

Melvyn Sopacua wrote:
>
> Almost Dave,
>
> NS4 users will see a 700px button and CSS compatible users a 300px button.
> This also allows you to make the buttons equal width despite the
differences
> in default font size using this code (html/head/body/form tags disabled to
> accomodate some mailreaders):
>
> [html]
> [head]
>          <title>Mysteries of the Browsers</title>
>          <style type="text/css">
>                  .clsButton
>                  {
>                          width: 300px;
>                  }
>          </style>
> </head>
>
> [body]
> [form]
> <input width="700px" type="Submit" class="clsButton" value="Outtahere!" />
> </form>
>
> [/body]
> [/html]
>
> At 09:34 26-10-01, you wrote:
>
> >Use CSS:
> >
> >input.submit {
> >  display: inline;
> >  width: 25px;
> >  height: 15px;
> >  background: white;
> >  color: black;
> >  etc, etc, etc...
> >}
> >
> ><input type = "Submit" value="Check me out!" class="submit">
> >                                              ^^^^^^^^^^^^^^
> >Dave
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf
Of
> > > Jim Kelly
> > > Sent: Friday, October 26, 2001 3:51 AM
> > > To: sambar
> > > Subject: [sambar] sizing the submit button
> > >
> > >
> > > is there a way that I can control the size of the submit button?
> > >
> > > <INPUT TYPE="SUBMIT" VALUE="Intro">

----------------------------------------------------------------------------
----
For unsubscription of this list send an email to [EMAIL PROTECTED] with
email
data containing unsubscribe emailadd sambar

--------------------------------------------------------------------------------
For unsubscription of this list send an email to [EMAIL PROTECTED] with email
data containing unsubscribe emailadd sambar

Reply via email to