If you are using the HTML structure that I set out in this question , you can simply put your shortcut and type to the left and adjust the indent / margin until the lines are aligned.
And yes, you want your switch to have a class name for old IE. And so that they are all on the same line, in accordance with the markup associated with it, this would be like this:
<fieldset> <div class="some-class"> <input type="radio" class="radio" name="x" value="y" id="y" /> <label for="y">Thing 1</label> <input type="radio" class="radio" name="x" value="z" id="z" /> <label for="z">Thing 2</label> </div> </fieldset>
means your starting CSS will be something like this:
fieldset { overflow: hidden } .some-class { float: left; clear: none; } label { float: left; clear: none; display: block; padding: 2px 1em 0 0; } input[type=radio], input.radio { float: left; clear: none; margin: 2px 0 0 2px; }
D_N Feb 28 '10 at 10:40 2010-02-28 10:40
source share