Change the font size of the radio button text

I am trying to change the font size of some radio buttons:

<input type="radio" name="rdDate" id="ShowAll" value="Show All" style="border-style:none;margin-left:0px;font-size:11px;"/>Show All
    <input type="radio" name="rdDate" id="ShowCurrent" value="Show Current" style="border-style:none;font-size:11px;"/>Show Current

But adding style = "font-size: 11px;" the input tag does not change the size of the text. The only way I found for this is to wrap the text in a font tag, but then you are limited by the font size from 1 to 7, none of which are suitable for what I need.

Does anyone know how to change the font size of radio text text?

+3
source share
2 answers

The text is next to the switch, not inside it.

<label> (, for id , , , , , , ).

.

+10

<label>, .

<input type="radio" name="rdDate" id="ShowAll" value="Show All" style="border-style:none;margin-left:0px;font-size:11px;"/><label style="font-size: 11px;">Show All</label>
<input type="radio" name="rdDate" id="ShowCurrent" value="Show Current" style="border-style:none;font-size:11px;"/><label style="font-size: 11px;">Show Current</label>

.

0

All Articles