Reply to Re: How do I adjust the width of a "submit" button

Your name:

Reply:


Posted by Jonathan N. Little on 07/08/06 12:40

Jim Moe wrote:
> Robert S wrote:
>> I have a page that has buttons with A-Z on them. They look great in
>> firefox but in IE the width is variable. 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

..myButtons { width: 5em; }

<input class="myButtons" type="submit" value="A">
<input class="myButtons" type="submit" value="B">
....

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

[Back to original 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

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