Nathan Nobbe wrote:
> On Jan 2, 2008 1:55 PM, tedd <[EMAIL PROTECTED]> wrote:
> 
>> At 1:46 PM -0500 1/2/08, Nathan Nobbe wrote:
>>> On Jan 2, 2008 1:34 PM, tedd
>>> <<mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]> wrote:
>>>
>>>
>>> &nbsp; &nbsp; &nbsp; &nbsp;A&nbsp; &nbsp; &nbsp; &nbsp;
>>>
>>> (it's there to make a submit button wider)
>>>
>>>
>>> why dont you just style the button w/ css?
>>>
>>> style="width:200px"
>>>
>>> -nathan
>>
>> -nathan:
>>
>> Have you tried that?
>>
>> I have, and it don't work.
>>
>> I can create wider <button>whatever</button> but I cannot create a
>> wider <input type="submit" value="A"> submit button.
> 
> 
> it appears to work for me  using firefox:
> 
> <html>
> <head>
> <title>
> </title>
> </head>
> <body>
> <form>
> <input type="submit" style="width:250px" value="Submit">
> <form>
> </body>
> </html>
> 
> -nathan
> 

I prefer this approach instead.

<html>
<head>
<title></title>
        <style>
        button,
        input[type=submit],
        input[type=reset],
        input[type=button] {
                width:  250px;
        }
        </style>
</head>
<body>
<form>
        <input type="submit" value="Submit">
<form>
</body>
</html>


This way, you hit all your buttons with one style tag.

-- 
Jim Lucas

   "Some men are born to greatness, some achieve greatness,
       and some have greatness thrust upon them."

Twelfth Night, Act II, Scene V
    by William Shakespeare

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to