Align Select options with labels horizontally
Hi.. Am trying to align 2 select options with labels horizontally . I implemented the Control Group code
but am not able to display labels... it hides the labels . Only Select options are visible .(dropdowns no labels are associated with)
- <fieldset data-role="controlgroup" data-type="horizontal">
-
- <label for="location" >Location</label>
- <select name="location" id="location" width="20%">
- <option>Add new location</option>
- </select>
-
- <label for="selectmenu2">
- Choose:
- </label>
- <select id="selectmenu2" name="DropDown" data-theme="b">
- <option value="Select">
- Select
- </option>
- <option value="Viilage1">
- Viilage1
- </option>
- <option value="Viilage2">
- Viilage2
- </option>
- </select>
- </div>