You are here: Re: How do I adjust the width of a "submit" button « HTML « IT news, forums, messages
Re: How do I adjust the width of a "submit" button

Posted by Jim Moe on 10/08/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)

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация