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]
|