Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Allow horizontal alignment of multiple selects #770

Closed
@psmiley

Description

@psmiley

Fix as suggested in http://forum.jquery.com/topic/data-role-horizontal-for-selects works for 1.0alpha2 release, but the alignment of the label is off when on the same line as the selects
Can re-create with adding
[data-type='horizontal'] div.ui-select {
width: auto;
}
to css
and the following HTML:

            <fieldset data-type="horizontal">
                <label for="dob"><strong>Date of Birth:</strong></label>
                <select name="day" id="day" data-type="horizontal">
                    <option value="1">01</option>
                    <option value="2">02</option>                    
                 </select>           
         
                <select name="month" id="month" data-type="horizontal">
                    <option value="January">January</option>
                    <option value="Febuary">Febuary</option>
                </select>           
        
                <select name="year" id="year" data-type="horizontal">
                    <option value="2011">2011</option>
                    <option value="2010">2010</option>
                </select>
         
            </fieldset>

        </div>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions