Posted by Jim Moe on 09/27/28 11:52
Jonathan N. Little wrote:
>>> [...] How do I set the buttons to a
>>> constant width?
>>>
>> input[type=submit] { width: 5em; }
>>
> Unfortunately IE does not recognize attribute selector, works for
> everybody else you will have to make a class
>
Crap, that's right.
I remember being excited about the selector because without it the rule
was applied to all input types, even radio buttons. A 5em radio button
looks strange.
I've used your approach which works well. I have also used a <div> and
cascaded <input> within it being careful to have only the one input type.
--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
[Back to original message]
|