[html5] Radio Button Size

Nicholas Stephan nicholas.stephan at gmail.com
Tue Oct 26 09:58:19 PDT 2010


Webkit and Mozilla also have the CSS attributes -webkit-appearance and -moz-appearance. Setting these to none will remove the default OS styling and give more control to the CSS. Of course, there's no hope for IE.




On Oct 26, 2010, at 4:35 AM, Diego Perini <diego.perini at gmail.com> wrote:

> I am not sure this can help, not sure either it is the right way to do
> it by using CSS rules, however:
> 
>   <input type="radio" style="width: 64px; height: 64px; zoom: 2;">
> 
> in my tests, webkit based browsers can use the "zoom" property while
> Firefox will do with "width/height" properties.
> 
> Webkit does a real zoom of the radio button, while Firefox is just
> stretching the pixels and anti-aliasing them (bad result).
> 
> 
> Diego
> 
> 
> On Tue, Oct 26, 2010 at 8:55 AM, Jason Gross
> <jasongross9+html5 at gmail.com> wrote:
>> Is there a way to change the size of a radio button without resorting to
>> using images?  If not, should a way to do this without javascript become
>> proposed as part of the standard?
>> Thanks.
>> -Jason
>> 
>> _______________________________________________
>> Help mailing list
>> Help at lists.whatwg.org
>> http://lists.whatwg.org/listinfo.cgi/help-whatwg.org
>> 
>> 
> _______________________________________________
> Help mailing list
> Help at lists.whatwg.org
> http://lists.whatwg.org/listinfo.cgi/help-whatwg.org



More information about the Help mailing list