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>

Activity

toddparker

toddparker commented on Feb 15, 2011

@toddparker
Contributor

Good idea, but I'm closing this because it won't make it into 1.0 and moving it to feature request list:
https://github.com/jquery/jquery-mobile/wiki/Feature-Requests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

        Participants

        @toddparker@psmiley

        Issue actions

          Allow horizontal alignment of multiple selects · Issue #770 · jquery-archive/jquery-mobile